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

IStateStore.Set<T> Method

Adds a value to the store or replace it if a value of the same type already exists.

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

Parameters

value
Type: T
The new value.

Type Parameters

T
Type of the new value.
See Also