KatanaFromScratch/Microsoft.Owin.Host.SystemWeb/HttpContextExtensions.cs
/// <summary>
/// Gets the <see cref="IOwinContext"/> for the current request.
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
Gets the  for the current request.
Gets the for the current request .
public static IOwinContext GetOwinContext(this HttpRequest request)
        {
            if (request == null)
            {
                throw new ArgumentNullException("request");
            }
            return request.RequestContext.HttpContext.GetOwinContext();
        }
public static IOwinContext GetOwinContext ( this HttpRequest request ) { if ( request == null ) { throw new ArgumentNullException ( " " ) ; } return request . RequestContext . HttpContext . GetOwinContext ( ) ; }
Gets the  for the current request.
Gets the for the current request .
None
HttpRequest
this
request
None