//CSharp.Context context, string viewContents, JavaScriptView master) public JavaScriptView(string viewContents, JavaScriptView master) { //this.Context = context; this.Contents = viewContents; this.MasterView = master; }
IView GetView(ControllerContext controllerContext, string virtualPath, JavaScriptView masterView) { if (String.IsNullOrEmpty(virtualPath)) { return null; } var viewContents = this.GetContents(controllerContext, virtualPath); return new JavaScriptView(viewContents, masterView); //this.Context, viewContents, masterView); }