Exemple #1
0
 public static NativeExtension Get()
 {
     if (_instance == null)
     {
         lock (_staticLock)
         {
             if (_instance == null)
             {
                 _instance = new NativeExtension();
             }
         }
     }
     return(_instance);
 }
Exemple #2
0
 public static NativeMethods Get()
 {
     return(NativeExtension.Get().NativeMethods);
 }