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