Closed zacharylayne closed 1 year ago
GetIndex
is an implementation detail, and may be changed in future. Indexing space is a sparse space, e.g. GetIndex<string>
may return different indexes for different actual TValue
. It is impractical to keep backward compatibility for this API. I may decide to change the behavior of this method or remove generic parameter at all.
I'd like to implement
ITypeMap<T>
but to do so it seems I'd have to reimplement indexing sinceGetIndex<TKey>()
isprivate protected
. Would it be sensible to changeGetIndex
accessibility toprotected
?