예제 #1
0
 protected override void Initialize(RequestContext requestContext)
 {
     base.Initialize(requestContext);
     WorkContext = new WebWorkContext(requestContext);
 }
예제 #2
0
 public sealed override void InitHelpers()
 {
     base.InitHelpers();
     this.WorkContext = ((IRazorController)(this.ViewContext.Controller)).WorkContext;
 }