CollectionProxy<TInterface, TImplementation> public class CollectionProxy<TInterface, TImplementation> : ICollection<TInterface>, IEnumerable<TInterface>, IEnumerable where TImplementation : TInterface Documentation Code public int Count { get; } public bool IsReadOnly { get; } public CollectionProxy(ICollection<TImplementation> collection) public void Add(TInterface item) public void Clear() public bool Contains(TInterface item) public void CopyTo(TInterface[] array, int arrayIndex) public IEnumerator<TInterface> GetEnumerator() public bool Remove(TInterface item)