示例#1
0
        private SelectorTuple openSelector()
        {
            Selector unwrappedSelector;

            unwrappedSelector = provider.openSelector();
            SelectedSelectionKeySet selectedKeySet = new SelectedSelectionKeySet();

            selectedKeys = selectedKeySet;

            return(new SelectorTuple(unwrappedSelector, new SelectedSelectionKeySetSelector(unwrappedSelector, selectedKeySet)));
        }
示例#2
0
 public SelectedSelectionKeySetSelector(Selector _delegate, SelectedSelectionKeySet selectionKeys)
 {
     this._delegate     = _delegate;
     this.selectionKeys = selectionKeys;
 }