Beispiel #1
0
 public static void Bind(GlobalProcess process)
 {
     if (instances.Contains(process))
     {
         process.OnBind();
         instances.Add(process);
     }
 }
Beispiel #2
0
 public static void Unbind(GlobalProcess process)
 {
     if (!instances.Contains(process))
     {
         process.OnUnbind();
         instances.Remove(process);
     }
 }