public RangeIndexAccessor(IndexedWrapperBase <TEntry, TTarget> wrapper, string name) : base(wrapper, name) { _index = _wrapper.Indexes[_name] as IRangeIndex <TEntry, TField>; if (_index == null) { throw new NotSupportedException($"Index '{_name}' does not support '{nameof(IRangeIndex<TEntry, TField>)}' interface!"); } }
public IndexAccessorBase(IndexedWrapperBase <TEntry, TTarget> wrapper, string name) { _name = name; _wrapper = wrapper; }