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