/// <summary> /// Initializes the <see cref="ZephyrViewEngine"/> class. /// </summary> static ZephyrViewEngine() { ViewEngines.Engines.Insert(ViewEngines.Engines.Count, new ZephyrViewEngine()); try { var pathProvider = new ZephyrViewEngineVirtualPathProvider(); HostingEnvironment.RegisterVirtualPathProvider(pathProvider); } catch (SecurityException) { // Partial trust... No support for this! } }