PostSharp 6.10 / / 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: (
T Get<T>()
where T : class

Type Parameters

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