public override void ExecuteResult(ControllerContext context) { _cachedResponse.Apply(context.HttpContext.Response); }
/// <summary> /// 派生类重写此方法自定义输出响应的逻辑 /// </summary> /// <param name="responseData">响应信息</param> protected virtual void OutputResponse( ICachedResponse responseData ) { responseData.Apply( Response ); }
/// <summary> /// 派生类重写此方法自定义输出响应的逻辑 /// </summary> /// <param name="context">HTTP 上下文</param> /// <param name="responseData">响应信息</param> protected virtual void OutputResponse(HttpContextBase context, ICachedResponse responseData) { responseData.Apply(context.Response); }
/// <summary> /// 派生类重写此方法自定义输出响应的逻辑 /// </summary> /// <param name="responseData">响应信息</param> protected virtual void OutputResponse(ICachedResponse responseData) { responseData.Apply(Response); }
/// <summary> /// 派生类重写此方法自定义输出响应的逻辑 /// </summary> /// <param name="context">HTTP 上下文</param> /// <param name="responseData">响应信息</param> protected virtual void OutputResponse( HttpContextBase context, ICachedResponse responseData ) { responseData.Apply( context.Response ); }