MonitoredArrayT Class

Array that sends events when it change.

Definition

Namespace: NorthLab.PrefabDrawer
Assembly: NL.PrefabDrawer (in NL.PrefabDrawer.dll) Version: 1.0.0.0
C#
[SerializableAttribute]
public class MonitoredArray<T> : IEnumerator, 
	ICollection, IEnumerable
Inheritance
Object    MonitoredArrayT
Implements
ICollection, IEnumerable, IEnumerator

Type Parameters

T
Type of the list.

Constructors

MonitoredArrayT(Int32) Constructor.
MonitoredArrayT(MonitoredArrayT) Constructor that shallow copies another array.

Properties

CountGets the number of elements contained in the ICollection.
CurrentGets the element in the collection at the current position of the enumerator.
IsSynchronizedGets a value indicating whether access to the ICollection is synchronized (thread safe).
Item Return element of index.
SyncRootGets an object that can be used to synchronize access to the ICollection.

Methods

CopyToCopies the elements of the ICollection to an Array, starting at a particular Array index.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumeratorReturns an enumerator that iterates through a collection.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
MoveNextAdvances the enumerator to the next element of the collection.
ResetSets the enumerator to its initial position, which is before the first element in the collection.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

onChanged Event for MonitoredArrayTOnChanged delegate.

See Also