Exemple #1
0
 public void RemoveType(Type type)
 {
     TypeVariants.Remove(type);
     _Popup.Variants.RemoveAll(t => t.Value == type);
 }
Exemple #2
0
 public void AddType(Type type)
 {
     TypeVariants.Add(type);
     _Popup.Variants.Add(new NamedValue <Type>(type.ToString(), type));
 }