public IndexGetSetAccessor(IIndexGetSet <TKey, TValue> indexable, TKey key) { Indexable = indexable; Key = key; }
public static IndexGetSetAccessor <TKey, TValue> Access <TKey, TValue>(this IIndexGetSet <TKey, TValue> indexable, TKey key) { return(new IndexGetSetAccessor <TKey, TValue>(indexable, key)); }