Sisk

Method

TypedValueDictionary.Set<T>

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

Set<T>() #

Creates and adds an singleton of T in this context bag.

C#
public T Set<T>() where T : notnull, new()

Returns #

T

Type Parameters #

T

The object that will be defined in this context bag.

Set<T>(T) #

Adds an singleton of T in this context bag.

C#
public T Set<T>(T value) where T : notnull

Parameters #

value T

The instance of T which will be defined in this context bag.

Returns #

T

Type Parameters #

T

The object that will be defined in this context bag.

Type to search the documentation and the API reference.