DigitalDefinitionCollection Class

Represents a protocol independent collection of IDigitalDefinition objects.

Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.128 -- Release Build+dd7f32701ba80de4d5b0557e84e0ddc18a34573f
[SerializableAttribute]
public class DigitalDefinitionCollection : ChannelDefinitionCollectionBase<IDigitalDefinition>
Inheritance
Object    Collection<IDigitalDefinition>    ListCollection<IDigitalDefinition>    ChannelCollectionBase<IDigitalDefinition>    ChannelDefinitionCollectionBase<IDigitalDefinition>    DigitalDefinitionCollection

Constructors

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

Properties

Attributes Gets a Dictionary<TKey, TValue> of string based property names and values for this IChannel object.
(Inherited from ChannelCollectionBase<T>)
BinaryLength Gets the length of the ChannelCollectionBase<T>.
(Inherited from ChannelCollectionBase<T>)
Count Gets the number of elements contained in the ICollection<T>.
(Inherited from ListCollection<IDigitalDefinition>)
FixedElementSize Gets flag that indicates if collection elements have a fixed size.
(Inherited from ChannelCollectionBase<T>)
Item(Int32) Gets or sets the element at the specified index.
(Inherited from ListCollection<IDigitalDefinition>)
Items Gets a IList<T> wrapper around the Collection<T>.
(Inherited from ListCollection<IDigitalDefinition>)
MaximumCount Gets or sets the maximum allowed number of items for this ChannelCollectionBase<T>.
(Inherited from ChannelCollectionBase<T>)
State Gets or sets the parsing state for this IChannel object.
(Inherited from ChannelCollectionBase<T>)
Tag Gets or sets a user definable reference to an object associated with this IChannel object.
(Inherited from ChannelCollectionBase<T>)

Methods

Add(T1) Adds an item to the ICollection<T>.
(Inherited from ListCollection<IDigitalDefinition>)
AddRange Adds the elements of the specified collection to the end of the ChannelCollectionBase<T>.
(Inherited from ChannelCollectionBase<T>)
Clear Removes all items from the ICollection<T>.
(Inherited from ListCollection<IDigitalDefinition>)
ClearItems Removes all elements from the ChannelCollectionBase<T>.
(Inherited from ChannelCollectionBase<T>)
Contains(T1) Determines whether the ICollection<T> contains a specific value.
(Inherited from ListCollection<IDigitalDefinition>)
CopyTo(T1[], Int32) Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
(Inherited from ListCollection<IDigitalDefinition>)
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.
(Inherited from ChannelCollectionBase<T>)
GetEnumerator Returns an enumerator that iterates through the Collection<T>.
(Inherited from ListCollection<IDigitalDefinition>)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
(Inherited from ChannelCollectionBase<T>)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IndexOf(T1) Determines the index of a specific item in the IList<T>.
(Inherited from ListCollection<IDigitalDefinition>)
Insert(Int32, T1) Inserts an item to the IList<T> at the specified index.
(Inherited from ListCollection<IDigitalDefinition>)
InsertItem Inserts an element into the ChannelDefinitionCollectionBase<T> at the specified index.
(Inherited from ChannelDefinitionCollectionBase<T>)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnCollectionChanged Raises the NotifyCollectionChangedEventHandler event.
(Inherited from ChannelCollectionBase<T>)
RefreshBinding Manually sends a Reset to the collection changed event.
(Inherited from ChannelCollectionBase<T>)
Remove(T1) Removes the first occurrence of a specific object from the ICollection<T>.
(Inherited from ListCollection<IDigitalDefinition>)
RemoveAt(Int32) Removes the element at the specified index of the Collection<T>.
(Inherited from ListCollection<IDigitalDefinition>)
RemoveItem Removes the element at the specified index of the ChannelDefinitionCollectionBase<T>.
(Inherited from ChannelDefinitionCollectionBase<T>)
SetItem Replaces the element at the specified index.
(Inherited from ChannelDefinitionCollectionBase<T>)
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.
(Inherited from ChannelCollectionBase<T>)

See Also