Beispiel #1
0
 private static void EnsureShimRegistered(Configuration.Config c)
 {
     lock (lockShim)
     {
         if (shim == null)
         {
             var s = new VirtualPathProviderShim(c);
             HostingEnvironment.RegisterVirtualPathProvider(s);
             shim = s;
         }
     }
 }
Beispiel #2
0
 private static void EnsureShimRegistered(Configuration.Config c)
 {
     lock (lockShim)
     {
         if (shim == null)
         {
             var s = new VirtualPathProviderShim(c);
             HostingEnvironment.RegisterVirtualPathProvider(s);
             shim = s;
         }
     }
 }