public void ReleaseView(ControllerContext controllerContext, IView view)
 {
     if (IsAllowed(controllerContext))
     {
         inner.ReleaseView(controllerContext, view);
     }
 }
Example #2
0
 public void ReleaseView(ControllerContext controllerContext, IView view)
 {
     using (ProfilerResolver.Current.Profiler.Step(string.Format("{0}.ReleaseView, {1}", _name, view.GetType().Name)))
     {
         _inner.ReleaseView(controllerContext, view);
     }
 }
        public void ReleaseView(ControllerContext controllerContext, IView view)
        {
            IViewEngine viewEngine = GetViewEngine(controllerContext);

            if (viewEngine != null)
            {
                viewEngine.ReleaseView(controllerContext, view);
            }
        }
Example #4
0
 /// <summary>
 /// Find a partial
 /// </summary>
 public void ReleaseView(ControllerContext controllerContext, IView view)
 {
     _wrapped.ReleaseView(controllerContext, view);
 }
Example #5
0
 public void ReleaseView(ControllerContext controllerContext, IView view)
 {
     inner.ReleaseView(controllerContext, view);
 }
Example #6
0
 public void ReleaseView_should_not_throw()
 {
     _viewEngine.ReleaseView(null, null);
 }
Example #7
0
 public void ReleaseView(ControllerContext controllerContext, IView view)
 {
     baseViewEngine.ReleaseView(controllerContext, view);
 }
Example #8
0
    public void ReleaseView(ControllerContext controllerContext, IView view)
    {
        TracingView tracingView = (TracingView)view;

        _innerViewEngine.ReleaseView(controllerContext, tracingView.InnerView);
    }