Class Selection<T>
- Namespace
- Core.Collections
- Assembly
- Core.dll
public class Selection<T> : ISelection<T>
Type Parameters
T
- Inheritance
-
objectSelection<T>
- Implements
-
ISelection<T>
- Extension Methods
Constructors
Selection()
public Selection()
Properties
Count
public int Count { get; }
Property Value
- int
IsReadOnly
public bool IsReadOnly { get; }
Property Value
- bool
OnAdded
public IEvent<IReadOnlyCollection<T>> OnAdded { get; }
Property Value
- IEvent<IReadOnlyCollection<T>>
OnChanged
public IEvent<IReadOnlyCollection<T>> OnChanged { get; }
Property Value
- IEvent<IReadOnlyCollection<T>>
OnRemoved
public IEvent<IReadOnlyCollection<T>> OnRemoved { get; }
Property Value
- IEvent<IReadOnlyCollection<T>>
Methods
Add(IEnumerable<T>)
public int Add(IEnumerable<T> entries)
Parameters
entriesIEnumerable<T>
Returns
- int
Add(T)
public void Add(T entry)
Parameters
entryT
Clear()
public void Clear()
Contains(T)
public bool Contains(T item)
Parameters
itemT
Returns
- bool
CopyTo(T[], int)
public void CopyTo(T[] array, int arrayIndex)
Parameters
arrayT[]arrayIndexint
Dispose()
public void Dispose()
GetEnumerator()
public IEnumerator<T> GetEnumerator()
Returns
- IEnumerator<T>
Remove(IEnumerable<T>)
public int Remove(IEnumerable<T> entries)
Parameters
entriesIEnumerable<T>
Returns
- int
Remove(T)
public bool Remove(T entry)
Parameters
entryT
Returns
- bool
Set(IEnumerable<T>)
public void Set(IEnumerable<T> entriesToSet)
Parameters
entriesToSetIEnumerable<T>