コード例 #1
0
 private void InitializeIfNecessary()
 {
     if (currentOwnerInstance != this)
     {
         currentOwnerInstance = this;
         UnManagedStaticClass.Initialize(initParameters);
         UnManagedStaticClass.Settings = settings;
     }
 }
コード例 #2
0
 public MyWrapper(InitParameters p)
 {
     lock (lockRoot)
     {
         if (!initialized)
         {
             UnManagedStaticClass.Initialize(p);
             initialized = true;
         }
     }
 }
コード例 #3
0
 static Test()
 {
     UnManagedStaticClass.Initialize();
     UnManagedStaticClass.Settings = ...;
 }
コード例 #4
0
 static MyWrapper()
 {
     UnManagedStaticClass.Initialize();
 }
コード例 #5
0
 static Test()
 {
     UnManagedStaticClass.Initialize();
 }
コード例 #6
0
 static MyWrapper()
 {
     UnManagedStaticClass.Initialize();
     UnManagedStaticClass.Settings = ...;
 }