protected GetInvocationContext ( System.Web.Http.Controllers.HttpActionContext actionContext ) : object>.IDictionary |
||
actionContext | System.Web.Http.Controllers.HttpActionContext | |
Résultat | object>.IDictionary |
protected virtual IDictionary<string, object> GetInvocationContext(HttpActionContext actionContext)
{
var provider = new WebApiContextProvider(actionContext);
var context = provider.GetContext();
context[Global.__flatwhite_outputcache_attribute] = this;
context[WebApiExtensions.__webApi_dependency_scope] = actionContext.Request.GetDependencyScope();
return context;
}