public AggregatedEntriesSource( AbstractTableDataSource <TItem, TData> tableSource, AbstractTableEntriesSource <TItem> primary ) { _tableSource = tableSource; _sources = new EntriesSourceCollections(primary); }
private void EnsureSources() { if (_sources == null) { _sources = new Dictionary <object, AbstractTableEntriesSource <TItem> > { { _primary.Key, _primary } }; _primary = null; } }
private void EnsureSources() { if (_sources == null) { RoslynDebug.AssertNotNull(_primary); _sources = new Dictionary <object, AbstractTableEntriesSource <TItem> > { { _primary.Key, _primary } }; _primary = null; } }
public EntriesSourceCollections(AbstractTableEntriesSource <TItem> primary) { Contract.ThrowIfNull(primary); _primary = primary; }
public AggregatedEntriesSource(IThreadingContext threadingContext, AbstractTableDataSource <TItem, TData> tableSource, AbstractTableEntriesSource <TItem> primary) { _threadingContext = threadingContext; _tableSource = tableSource; _sources = new EntriesSourceCollections(primary); }