Exemple #1
0
 public static void Register(string libXmName)
 {
     if (null != Instance) {
         return;
     }
     Instance = new XmSports(libXmName);
     Instance.FetchCreateFunction();
 }
Exemple #2
0
 public static void Unregister()
 {
     if (null == Instance) {
         return;
     }
     System.Diagnostics.Debug.WriteLine("Xm: unregister");
     Instance.Dispose();
     Instance = null;
 }