Declaration
public static ReadOnlyCollection<T> AsReadOnly<T>(
this ICollection<T> coll,
ref ReadOnlyCollection<T> cache
)
Summary
Gets a read-only wrapper around this collection. If
cache is already a wrapper for this
collection returns that, otherwise creates a new wrapper, stores it in
cache, and returns
that.
Generic type parameters
T | This type parameter is not documented. |