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