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