M42.Collections by Daniel Pelsmaeker

<PackageReference Include="M42.Collections" Version="0.6.5056.5071" />

 ICollection

public interface ICollection : IEnumerable
A collection.
int Count { get; }

Gets the number of elements in the collection.

bool IsEmpty { get; }

Gets whether the collection is empty.

bool IsFrozen { get; }

Gets whether the collection could ever change.

bool Contains(object value)

Returns whether the collection contains an element that is equal to the specified value.

object GetMember(object value, out bool isPresent)

Gets a value from the collection that is considered to be equal to the specified value.

object GetMember(object value)

Gets a value from the collection that is considered to be equal to the specified value.

bool IsValidMember(object value)

Returns whether the specified value would be a valid member of this collection.