Click or drag to resize

ChannelDefinitionCollectionBaseT Class

Represents a protocol independent collection of IChannelDefinition objects.
Inheritance Hierarchy

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.205-beta
Syntax
[SerializableAttribute]
public abstract class ChannelDefinitionCollectionBase<T> : ChannelCollectionBase<T>
where T : IChannelDefinition
View Source

Type Parameters

T
Specific IChannelDefinition type that the ChannelDefinitionCollectionBaseT contains.

The ChannelDefinitionCollectionBaseT type exposes the following members.

Constructors
 NameDescription
Protected methodChannelDefinitionCollectionBaseT(Int32, Boolean) Creates a new ChannelDefinitionCollectionBaseT using specified lastValidIndex.
Protected methodChannelDefinitionCollectionBaseT(SerializationInfo, StreamingContext) Creates a new ChannelDefinitionCollectionBaseT from serialization parameters.
Top
Properties
 NameDescription
Public propertyAttributes Gets a DictionaryTKey, TValue of string based property names and values for this IChannel object.
(Inherited from ChannelCollectionBaseT)
Public propertyBinaryLength Gets the length of the ChannelCollectionBaseT.
(Inherited from ChannelCollectionBaseT)
Public propertyCount Gets the number of elements contained in the ICollectionT.
(Inherited from ListCollectionT)
Public propertyFixedElementSize Gets flag that indicates if collection elements have a fixed size.
(Inherited from ChannelCollectionBaseT)
Public propertyItem Gets or sets the element at the specified index.
(Inherited from ListCollectionT)
Protected propertyItems Gets a IListT wrapper around the CollectionT.
(Inherited from ListCollectionT)
Public propertyMaximumCount Gets or sets the maximum allowed number of items for this ChannelCollectionBaseT.
(Inherited from ChannelCollectionBaseT)
Public propertyState Gets or sets the parsing state for this IChannel object.
(Inherited from ChannelCollectionBaseT)
Public propertyTag Gets or sets a user definable reference to an object associated with this IChannel object.
(Inherited from ChannelCollectionBaseT)
Top
Methods
 NameDescription
Public methodAdd Adds an item to the ICollectionT.
(Inherited from ListCollectionT)
Public methodAddRange Adds the elements of the specified collection to the end of the ChannelCollectionBaseT.
(Inherited from ChannelCollectionBaseT)
Public methodClear Removes all items from the ICollectionT.
(Inherited from ListCollectionT)
Protected methodClearItems Removes all elements from the ChannelCollectionBaseT.
(Inherited from ChannelCollectionBaseT)
Public methodContains Determines whether the ICollectionT contains a specific value.
(Inherited from ListCollectionT)
Public methodCopyTo Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
(Inherited from ListCollectionT)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGenerateBinaryImage Generates binary image of the object and copies it into the given buffer, for BinaryLength bytes.
(Inherited from ChannelCollectionBaseT)
Public methodGetEnumerator Returns an enumerator that iterates through the CollectionT.
(Inherited from ListCollectionT)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
(Inherited from ChannelCollectionBaseT)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf Determines the index of a specific item in the IListT.
(Inherited from ListCollectionT)
Public methodInsert Inserts an item to the IListT at the specified index.
(Inherited from ListCollectionT)
Protected methodInsertItem Inserts an element into the ChannelDefinitionCollectionBaseT at the specified index.
(Overrides ChannelCollectionBaseTInsertItem(Int32, T))
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnCollectionChanged Raises the NotifyCollectionChangedEventHandler event.
(Inherited from ChannelCollectionBaseT)
Public methodRefreshBinding Manually sends a Reset to the collection changed event.
(Inherited from ChannelCollectionBaseT)
Public methodRemove Removes the first occurrence of a specific object from the ICollectionT.
(Inherited from ListCollectionT)
Public methodRemoveAt Removes the element at the specified index of the CollectionT.
(Inherited from ListCollectionT)
Protected methodRemoveItem Removes the element at the specified index of the ChannelDefinitionCollectionBaseT.
(Overrides ChannelCollectionBaseTRemoveItem(Int32))
Protected methodSetItem Replaces the element at the specified index.
(Overrides ChannelCollectionBaseTSetItem(Int32, T))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventCollectionChanged Notifies listeners of dynamic changes, such as when items get added and removed or the whole list is refreshed.
(Inherited from ChannelCollectionBaseT)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also