private Type GetControllerType(HttpActionContext actionContext) { Asserts <ArgumentNullException> .IsNotNull(actionContext.ActionDescriptor); Asserts <ArgumentNullException> .IsNotNull(actionContext.ActionDescriptor.ControllerDescriptor); return(HttpActionContextHelper.GetController(actionContext)); }
protected virtual string GetMessage(HttpActionContext actionContext) { return(string.Format("User='******' '{1}/{2}({3})' Parameters='{4}'", HttpActionContextHelper.GetSessionId(actionContext), HttpActionContextHelper.GetControllerName(actionContext), HttpActionContextHelper.GetActionName(actionContext), HttpActionContextHelper.GetHttpMethod(actionContext), HttpActionContextHelper.GetParameters(actionContext))); }