示例#1
0
 private static EntityRes GetLoader() {
     if (loader == null) {
         EntityRes sr = new EntityRes();
         Interlocked.CompareExchange(ref loader, sr, null);
     }
     return loader;
 }
示例#2
0
 protected override string GetLocalizedString(string value)
 {
     return(EntityRes.GetString(value));
 }