public void TryAdd(KeyValuePair <string, string> key, IDataPipesService value) { this.underlyingCollection.TryAdd(key, value); OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, new KeyValuePair <KeyValuePair <string, string>, IDataPipesService>(key, value))); }
public void TryAdd(KeyValuePair <string, string> keyValuePair, IDataPipesService service) { this.underlyingCollection.TryAdd(keyValuePair, service); OnCollectionChanged(); }