예제 #1
0
 public static void UnRegister(RegistrationInfo regInfo)
 {
     if (RegistrationList.ContainsKey(regInfo.GetHashCode()))
     {
         RegistrationList.Remove(regInfo.GetHashCode());
     }
 }
예제 #2
0
 public static void Register(RegistrationInfo regInfo)
 {
     if (!RegistrationList.ContainsKey(regInfo.GetHashCode()))
     {
         RegistrationList.Add(regInfo.GetHashCode(), regInfo);
     }
 }