Method GetContextBag
GetContextBag<T>()
Gets an managed object from the HTTP context bag through it's type.
[Obsolete("This method is deprecated and should be removed in future Sisk versions. Please, use Bag property instead.")]
public T GetContextBag<T>() where T : notnull
Returns
- T
Type Parameters
T
The type of object which is stored in the HTTP context bag.