public async Task AddAsync(params T[] items) { Throw.IfNullOrEmpty(() => items); await _dataProviderWrapper.AddAsync(items); AddedEvent?.Invoke(items); }
/// <summary> /// Смотри <see cref="IDataset.Add"/> /// </summary> public void Add(IDatasetItem value) { _DataSet.Add((DatasetItem)value); value.EventChanged += DatasetItemOnEventChanged; AddedEvent?.Invoke(this, value); ApplyDatasetElement(); }