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