예제 #1
0
 private static EntityRes GetLoader()
 {
     if (loader == null)
     {
         var sr = new EntityRes();
         Interlocked.CompareExchange(ref loader, sr, null);
     }
     return loader;
 }