private static void Add (BaseEnum value) { Type t = value.GetType(); List<BaseEnum> valueList = null; if (_values.TryGetValue(t, out valueList) == false) { valueList = new List<BaseEnum>(); _values.Add(t, valueList); } valueList.Add(value); }
private static void Add(BaseEnum value) { Type t = value.GetType(); List <BaseEnum> valueList = null; if (_values.TryGetValue(t, out valueList) == false) { valueList = new List <BaseEnum>(); _values.Add(t, valueList); } valueList.Add(value); }