OwinRequest.Get<T>(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.