private static BDbenvMethods CreateMethods(IntPtr pdbenv, BDbOffsetOf offsetOf)
 {
     if (_methods == null)
     {
         lock (typeof(BDbenvMethods))
         {
             if (_methods == null)
                 _methods = new BDbenvMethods(pdbenv, offsetOf.Dbenv);
         }
     }
     return _methods;
 }
 private static BDbenvMethods CreateMethods(IntPtr pdbenv, BDbOffsetOf offsetOf)
 {
     if (_methods == null)
     {
         lock (typeof(BDbenvMethods))
         {
             if (_methods == null)
             {
                 _methods = new BDbenvMethods(pdbenv, offsetOf.Dbenv);
             }
         }
     }
     return(_methods);
 }
Exemple #3
0
 public Dbenv(IntPtr pdbenv, BDbenvMethods methods)
 {
     Handle = pdbenv;
     Methods = methods;
 }