Sisk

Method

TypedValueDictionary.IsSet<T>

Namespace
Sisk.Core.Entity
Assembly
Sisk.Core.dll

IsSet<T>() #

Determines whether the specified T singleton is defined in this context.

C#
public bool IsSet<T>() where T : notnull

Returns #

bool

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.

C#
public bool IsSet<T>(out T value) where T : notnull

Parameters #

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 #

bool

True if the object is find with the specified key; otherwise, false.

Type Parameters #

T

The singleton type.

Type to search the documentation and the API reference.