public bool Add(Process Process, int Id, object Data) { IdDictionary Dict = DictByProcess.GetOrAdd(Process, (Key) => new IdDictionary()); return(Dict.Add(Id, Data)); }
public int Add(Process Process, object Data) { IdDictionary Dict = DictByProcess.GetOrAdd(Process, (Key) => new IdDictionary()); return(Dict.Add(Data)); }
public int Add(KProcess process, object data) { IdDictionary dict = _dictByProcess.GetOrAdd(process, (key) => new IdDictionary()); return(dict.Add(data)); }