C# Class Orchard.WorkContextExtensions

Mostrar archivo Open project: ucdavis/Orchard

Public Methods

Method Description
CreateWorkContextScope ( this lifetimeScope ) : IWorkContextScope
CreateWorkContextScope ( this lifetimeScope, System.Web.HttpContextBase httpContext ) : IWorkContextScope
GetContext ( this workContextAccessor, ControllerContext controllerContext ) : WorkContext
GetWorkContext ( this requestContext ) : WorkContext

Private Methods

Method Description
FindWorkContextInParent ( System.Web.Routing.RouteData routeData ) : object

Method Details

CreateWorkContextScope() public static method

public static CreateWorkContextScope ( this lifetimeScope ) : IWorkContextScope
lifetimeScope this
return IWorkContextScope

CreateWorkContextScope() public static method

public static CreateWorkContextScope ( this lifetimeScope, System.Web.HttpContextBase httpContext ) : IWorkContextScope
lifetimeScope this
httpContext System.Web.HttpContextBase
return IWorkContextScope

GetContext() public static method

public static GetContext ( this workContextAccessor, ControllerContext controllerContext ) : WorkContext
workContextAccessor this
controllerContext ControllerContext
return WorkContext

GetWorkContext() public static method

public static GetWorkContext ( this requestContext ) : WorkContext
requestContext this
return WorkContext