Click or drag to resize

ChannelValueCollectionBaseTDefinition, TValue Class

Represents a protocol independent collection of IChannelValueT objects.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionTValue
    GSF.CollectionsListCollectionTValue
      GSF.PhasorProtocolsChannelCollectionBaseTValue
        GSF.PhasorProtocolsChannelValueCollectionBaseTDefinition, TValue
          GSF.PhasorProtocolsAnalogValueCollection
          GSF.PhasorProtocolsDigitalValueCollection
          GSF.PhasorProtocolsFrequencyValueCollection
          GSF.PhasorProtocolsPhasorValueCollection

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.207-beta
Syntax
[SerializableAttribute]
public abstract class ChannelValueCollectionBase<TDefinition, TValue> : ChannelCollectionBase<TValue>
where TDefinition : IChannelDefinition
where TValue : Object, IChannelValue<TDefinition>
View Source

Type Parameters

TDefinition
Specific IChannelDefinition type that the IChannelValueT references.
TValue
Specific IChannelValueT type that the ChannelValueCollectionBaseTDefinition, TValue contains.

The ChannelValueCollectionBaseTDefinition, TValue type exposes the following members.

Constructors
 NameDescription
Protected methodChannelValueCollectionBaseTDefinition, TValue(Int32) Creates a new ChannelValueCollectionBaseTDefinition, TValue using specified lastValidIndex.
Protected methodChannelValueCollectionBaseTDefinition, TValue(SerializationInfo, StreamingContext) Creates a new ChannelValueCollectionBaseTDefinition, TValue from serialization parameters.
Top
Properties
 NameDescription
Public propertyAllValuesAssigned Gets a boolean value indicating if all of the composite values have been assigned a value.
Public propertyAttributes Gets a DictionaryTKey, TValue of string based property names and values for this ChannelValueCollectionBaseTDefinition, TValue object.
(Overrides ChannelCollectionBaseTAttributes)
Public propertyBinaryLength Gets the length of the ChannelCollectionBaseT.
(Overrides ChannelCollectionBaseTBinaryLength)
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 ChannelValueCollectionBaseTDefinition, TValue.
(Overrides ChannelCollectionBaseTClearItems)
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.
(Overrides ChannelCollectionBaseTGetObjectData(SerializationInfo, StreamingContext))
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 ChannelValueCollectionBaseTDefinition, TValue 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 ChannelValueCollectionBaseTDefinition, TValue.
(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