protected ThemeableVirtualPathProviderViewEngine() { if (HttpContext.Current == null || HttpContext.Current.IsDebuggingEnabled) { ViewLocationCache = DefaultViewLocationCache.Null; } else { ViewLocationCache = new DefaultViewLocationCache(); } }
protected VirtualPathProviderViewEngine() { if (HttpContext.Current == null || HttpContext.Current.IsDebuggingEnabled) { ViewLocationCache = DefaultViewLocationCache.Null; } else { ViewLocationCache = new DefaultViewLocationCache(); } }
public TailspinViewEngine() { ViewLocationFormats = new[] { "~/{0}.aspx", }; PartialViewLocationFormats = new[] { "~/Shared/{0}.ascx", }; MasterLocationFormats = new[] { "~/{0}.master", }; ViewLocationCache = new DefaultViewLocationCache(); }