Share via


OwinContextExtensions.Get<T> Method (IOwinContext)

 

Retrieves an object from the OwinContext using a key based on the AssemblyQualified type name.

Namespace:   Microsoft.AspNet.Identity.Owin
Assembly:  Microsoft.AspNet.Identity.Owin (in Microsoft.AspNet.Identity.Owin.dll)

Syntax

public static T Get<T>(
    this IOwinContext context
)
public:
generic<typename T>
[ExtensionAttribute]
static T Get(
    IOwinContext^ context
)
static member Get<'T> : 
        context:IOwinContext -> 'T
<ExtensionAttribute>
Public Shared Function Get(Of T) (
    context As IOwinContext
) As T

Parameters

Return Value

Type: T

An object from the OWIN context.

Type Parameters

  • T
    The type of the context.

See Also

OwinContextExtensions Class
Microsoft.AspNet.Identity.Owin Namespace
ASP.NET Identity

Return to top