Exemple #1
0
        public bool Add(Process Process, int Id, object Data)
        {
            IdDictionary Dict = DictByProcess.GetOrAdd(Process, (Key) => new IdDictionary());

            return(Dict.Add(Id, Data));
        }
Exemple #2
0
        public int Add(Process Process, object Data)
        {
            IdDictionary Dict = DictByProcess.GetOrAdd(Process, (Key) => new IdDictionary());

            return(Dict.Add(Data));
        }
Exemple #3
0
        public int Add(KProcess process, object data)
        {
            IdDictionary dict = _dictByProcess.GetOrAdd(process, (key) => new IdDictionary());

            return(dict.Add(data));
        }