OwinContext.Get<T>(String) Method

Definition

Gets a value from the OWIN environment, or returns default(T) if not present.

public virtual T Get<T> (string key);
abstract member Get : string -> 'T
override this.Get : string -> 'T
Public Overridable Function Get(Of T) (key As String) As T

Type Parameters

T

The type of the value.

Parameters

key
String

The key of the value to get.

Returns

T

The value with the specified key or the default(T) if not present.

Implements

Applies to