Declaration
public static ReadOnlyDictionary<TK, TV> AsReadOnly<TK, TV>(
this IDictionary<TK, TV> dict,
ref ReadOnlyDictionary<TK, TV> cache
)
Summary
Gets a read-only wrapper around this dictionary. If
cache is already a wrapper for this
dictionary returns that, otherwise creates a new wrapper, stores it in
cache, and returns
that.
Generic type parameters
TK | This type parameter is not documented. |
TV | This type parameter is not documented. |