PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / IState­Store Interface / IState­Store Methods / IState­Store.​Get(T) Method

IStateStore.Get<T> Method

Gets a value of a given type from the store.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
T Get<T>()
where T : class

Type Parameters

T
Type of the value.

Return Value

Type: T
The value whose type is T, or null if the store does not contain such value.
See Also