Class CollectionValueBase<T>
Base class for classes implementing ICollectionValue[T]
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class CollectionValueBase<T> : EnumerableBase<T>, ICollectionValue<T>, Collections.Generic.IEnumerable<T>, IShowable, IFormattable
Type Parameters
Name | Description |
---|---|
T |
Properties
Name | Description |
---|---|
ActiveEvents | A flag bitmap of the events currently subscribed to by this collection. |
Count | The number of items in this collection. |
CountSpeed | The value is symbolic indicating the type of asymptotic complexity in terms of the size of this collection (worst-case or amortized as relevant). |
IsEmpty | Check if collection is empty. |
ListenableEvents |
Methods
Name | Description |
---|---|
All(Func<T, Boolean>) | Check if all items in this collection satisfies a specific predicate. |
Apply(Action<T>) | Apply an single argument action, Action<> to this enumerable |
Choose() | Choose some item of this collection. |
CopyTo(T[], Int32) | Copy the items of this collection to part of an array. |
Exists(Func<T, Boolean>) | Check if there exists an item that satisfies a specific predicate in this collection. |
Filter(Func<T, Boolean>) | Create an enumerable, enumerating the items of this collection that satisfies a certain condition. |
Find(Func<T, Boolean>, out T) | Check if there exists an item that satisfies a specific predicate in this collection and return the first one in enumeration order. |
raiseCollectionChanged() | Fire the CollectionChanged event |
raiseCollectionCleared(Boolean, Int32) | Fire the CollectionCleared event |
raiseCollectionCleared(Boolean, Int32, Nullable<Int32>) | Fire the CollectionCleared event |
raiseForAdd(T) | |
raiseForInsert(Int32, T) | |
raiseForRemove(T) | |
raiseForRemove(T, Int32) | |
raiseForRemoveAll(ICollectionValue<T>) | |
raiseForRemoveAt(Int32, T) | |
raiseForSetThis(Int32, T, T) | |
raiseForUpdate(T, T) | |
raiseForUpdate(T, T, Int32) | |
raiseItemInserted(T, Int32) | Fire the ItemInserted event |
raiseItemRemovedAt(T, Int32) | Fire the ItemRemovedAt event |
raiseItemsAdded(T, Int32) | Fire the ItemsAdded event |
raiseItemsRemoved(T, Int32) | Fire the ItemsRemoved event |
Show(Text.StringBuilder, ref Int32, IFormatProvider) | |
ToArray() | Create an array with the items of this collection (in the same order as an enumerator would output them). |
ToString() | |
ToString(String, IFormatProvider) |
Events
Name | Description |
---|---|
CollectionChanged | The change event. Will be raised for every change operation on the collection. |
CollectionCleared | The clear event. Will be raised for every Clear operation on the collection. |
ItemInserted | The item added event. Will be raised for every individual addition to the collection. |
ItemRemovedAt | The item removed event. Will be raised for every individual removal from the collection. |
ItemsAdded | The item added event. Will be raised for every individual addition to the collection. |
ItemsRemoved | The item removed event. Will be raised for every individual removal from the collection. |