Esempio n. 1
0
 public WindowGroup this[WindowGroupType type]
 {
     get
     {
         groups.TryGetValue(type.GetHashCode(), out WindowGroup value);
         return(value);
     }
 }
Esempio n. 2
0
 public void AddGroup(WindowGroupType groupType, WindowGroup windowGroup)
 {
     if (groups == null)
     {
         groups = new Dictionary <int, WindowGroup>();
     }
     groups[groupType.GetHashCode()] = windowGroup;
 }