Method
TypedValueDictionary.IsSet<T>
IsSet<T>() #
Determines whether the specified T singleton is defined in this context.
public bool IsSet<T>() where T : notnullReturns #
Type Parameters #
T
The singleton type.
IsSet<T>(out T) #
Determines whether the specified T singleton is defined in this context and tries to
output it.
public bool IsSet<T>(out T value) where T : notnullParameters #
value T
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Returns #
True if the object is find with the specified key; otherwise, false.
Type Parameters #
T
The singleton type.