|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MvcCallInterceptors.Interceptors;
namespace MvcCallInterceptors.Controllers
{
public abstract class BaseMvcController : Controller, IInterceptorMvcController
{
private InterceptorExecutionContext _interceptorExecutionContext;
protected abstract string View { get; }
/// <summary>
/// </summary>
protected override IActionInvoker CreateActionInvoker()
{
return new BaseControllerInterceptorInvoker();
}
public string ViewName
{
get { return View; }
}
public InterceptorExecutionContext InterceptorExecutionContext
{
get { return _interceptorExecutionContext; }
}
public void SetInterceptContext(InterceptorExecutionContext context)
{
_interceptorExecutionContext = context;
}
internal BaseControllerInterceptorInvoker BaseControllerInterceptorInvoker
{
get
{
throw new System.NotImplementedException();
}
set
{
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.