Interface IReadOnlyCollectionProvider<T>
Allows a collection to return a read-only wrapper. This interface should be implemented by the value collections in collection dictionaries to facilitate full read-only wrapping of not just the dictionary but also the collections it contains.
Namespace: Singulink.Collections
Assembly: Singulink.Collections.dll
Syntax
public interface IReadOnlyCollectionProvider<T>
Type Parameters
| Name | Description |
|---|---|
| T | The type of elements in the read-only wrapper. |
Methods
| Name | Description |
|---|---|
| GetReadOnlyCollection() | Returns a read-only collection wrapper for the given collection. |