示例#1
0
        public static void Delete <K>(IIdentifiedData <K> element)
        {
            var dict = GetDictionary(element.GetType());

            dict.Remove(element.Id);
        }
示例#2
0
        public static void Create <K>(IIdentifiedData <K> element)
        {
            var dict = GetDictionary(element.GetType());

            dict.TryAdd(element.Id, element);
        }