public void CopyFrom(SelectionCollectionImpl selectionCollection) { Clear(); ListAddRange(selectionCollection.List); IsInverted = selectionCollection.IsInverted; Version = selectionCollection.Version; }
public SelectionCollectionEnumerator(SelectionCollectionImpl collection) { _collection = collection; _version = collection.Version; _inverted = collection.IsInverted; _index = -1; Current = Selection <TItem> .Empty; }
protected SelectorController(ISelector <TItem> selector, ISelectorAdvisor <TItem> advisor) { SelectionCollection = new SelectionCollectionImpl(this, false); SelectionCollectionResume = new SelectionCollectionImpl(this, true); Selector = selector; Advisor = advisor; Advisor.Controller = this; }
public void Dispose() { _collection = null; }