Esempio n. 1
0
 public ObservingIndexSet(ObservableCollection <T> observableCollection, IndexSpecification <T> indexSpecification)
     : base(observableCollection, indexSpecification)
 {
     _observableCollection = observableCollection;
     SetupEventHandlers();
 }
Esempio n. 2
0
 public static IndexSet <TChild> BuildIndicesFor <TChild>(
     IEnumerable <TChild> enumerable,
     IndexSpecification <TChild> specification)
 {
     return(new IndexSet <TChild>(enumerable, specification));
 }
Esempio n. 3
0
 public IndexSet(IEnumerable <T> source, IndexSpecification <T> indexSpecification)
 {
     IndexSpecification = indexSpecification;
     SetupIndices(source);
 }
Esempio n. 4
0
 public static IndexSet <TChild> BuildIndicesFor <TChild>(
     ObservableCollection <TChild> observableCollection,
     IndexSpecification <TChild> specification) where TChild : INotifyPropertyChanged
 {
     return(new ObservingIndexSet <TChild>(observableCollection, specification));
 }
Esempio n. 5
0
 public IndexSet(IndexSpecification <T> indexSpecification)
     : this(new List <T>(), indexSpecification)
 {
 }