ChannelCollectionBaseT Class

Represents a protocol independent collection of IChannel objects.
This is the base class of all collection classes in the phasor protocols library; it is the root of the collection class hierarchy.

Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.128 -- Release Build+dd7f32701ba80de4d5b0557e84e0ddc18a34573f
Inheritance
Object    CollectionT    ListCollectionT    ChannelCollectionBaseT
Derived
Implements
ISupportBinaryImage, IChannel, IChannelCollectionT, ICollectionT, IEnumerableT, IListT, IEnumerable, INotifyCollectionChanged, ISerializable

Type Parameters

T
Specific IChannel type that the ChannelCollectionBaseT contains.

Remarks

This channel collection implements IChannel (inherited via IChannelCollectionT) for the benefit of providing a cumulative binary image of the entire collection.

Constructors

ChannelCollectionBaseT Creates a new ChannelCollectionBaseT.
ChannelCollectionBaseT(Int32, Boolean) Creates a new ChannelCollectionBaseT using specified lastValidIndex.
ChannelCollectionBaseT(SerializationInfo, StreamingContext) Creates a new ChannelCollectionBaseT from serialization parameters.

Properties

Attributes Gets a DictionaryTKey, TValue of string based property names and values for this IChannel object.
BinaryLength Gets the length of the ChannelCollectionBaseT.
Count Gets the number of elements contained in the ICollectionT.
(Inherited from ListCollectionT)
FixedElementSize Gets flag that indicates if collection elements have a fixed size.
Item(Int32) Gets or sets the element at the specified index.
(Inherited from ListCollectionT)
Items Gets a IListT wrapper around the CollectionT.
(Inherited from ListCollectionT)
MaximumCount Gets or sets the maximum allowed number of items for this ChannelCollectionBaseT.
State Gets or sets the parsing state for this IChannel object.
Tag Gets or sets a user definable reference to an object associated with this IChannel object.

Methods

Add(T1) Adds an item to the ICollectionT.
(Inherited from ListCollectionT)
AddRange Adds the elements of the specified collection to the end of the ChannelCollectionBaseT.
Clear Removes all items from the ICollectionT.
(Inherited from ListCollectionT)
ClearItems Removes all elements from the ChannelCollectionBaseT.
(Overrides ClearItems)
Contains(T1) Determines whether the ICollectionT contains a specific value.
(Inherited from ListCollectionT)
CopyTo(T1[], Int32) Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
(Inherited from ListCollectionT)
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)
GenerateBinaryImage Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes.
GetEnumerator Returns an enumerator that iterates through the CollectionT.
(Inherited from ListCollectionT)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
GetTypeGets the Type of the current instance.
(Inherited from Object)
IndexOf(T1) Determines the index of a specific item in the IListT.
(Inherited from ListCollectionT)
Insert(Int32, T1) Inserts an item to the IListT at the specified index.
(Inherited from ListCollectionT)
InsertItem Inserts an element into the ChannelCollectionBaseT at the specified index.
(Overrides InsertItem(Int32, T1))
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnCollectionChanged Raises the NotifyCollectionChangedEventHandler event.
RefreshBinding Manually sends a Reset to the collection changed event.
Remove(T1) Removes the first occurrence of a specific object from the ICollectionT.
(Inherited from ListCollectionT)
RemoveAt(Int32) Removes the element at the specified index of the CollectionT.
(Inherited from ListCollectionT)
RemoveItem Removes the element at the specified index of the ChannelCollectionBaseT.
(Overrides RemoveItem(Int32))
SetItem Replaces the element at the specified index.
(Overrides SetItem(Int32, T1))
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

CollectionChanged Notifies listeners of dynamic changes, such as when items get added and removed or the whole list is refreshed.

Extension Methods

CopyImage This is a common optimized block copy function for any kind of data.
(Defined by Common)

See Also