コード例 #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="underlying"></param>
 /// <param name="range"></param>
 public OrderedListDictionaryKeys(
     OrderedListDictionary <TK, TV> underlying,
     BoundRange <TK> range)
 {
     _underlying = underlying;
     _range      = range;
 }
コード例 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="parent"></param>
 /// <param name="range"></param>
 internal OrderedListDictionaryView(
     OrderedListDictionary <TK, TV> parent,
     BoundRange <TK> range)
 {
     _parent = parent;
     _range  = range;
     _keys   = new OrderedListDictionaryKeys <TK, TV>(_parent, _range);
     _values = new OrderedListDictionaryValues <TK, TV>(_parent, _range);
 }
コード例 #3
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="underlying"></param>
 public OrderedListDictionaryKeys(OrderedListDictionary <TK, TV> underlying)
 {
     _underlying = underlying;
     _range      = new BoundRange <TK>(null, null, _underlying.KeyComparer);
 }