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.
This is the base class of all collection classes in the phasor protocols library; it is the root of the collection class hierarchy.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[SerializableAttribute] public abstract class ChannelCollectionBase<T> : Collection<T>, IChannelCollection<T>, IChannel, ISupportBinaryImage, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, ISerializable, INotifyCollectionChanged where T : IChannel
<SerializableAttribute> _ Public MustInherit Class ChannelCollectionBase(Of T As IChannel) _ Inherits Collection(Of T) _ Implements IChannelCollection(Of T), IChannel, ISupportBinaryImage, _ IList(Of T), ICollection(Of T), IEnumerable(Of T), _ IEnumerable, ISerializable, INotifyCollectionChanged
[SerializableAttribute] generic<typename T> where T : IChannel public ref class ChannelCollectionBase abstract : public Collection<T>, IChannelCollection<T>, IChannel, ISupportBinaryImage, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, ISerializable, INotifyCollectionChanged
Generic Template Parameters
- T
- Specific IChannel type that the ChannelCollectionBase<(Of <(<'T>)>)> contains.
Members
All Members | Constructors | Methods | Properties | Events | |
Icon | Member | Description |
---|---|---|
ChannelCollectionBase<(Of <(<'T>)>)>()()()() |
Creates a new ChannelCollectionBase<(Of <(<'T>)>)>.
| |
ChannelCollectionBase<(Of <(<'T>)>)>(Int32) |
Creates a new ChannelCollectionBase<(Of <(<'T>)>)> using specified lastValidIndex.
| |
ChannelCollectionBase<(Of <(<'T>)>)>(SerializationInfo, StreamingContext) |
Creates a new ChannelCollectionBase<(Of <(<'T>)>)> from serialization parameters.
| |
Add(T) |
Adds an object to the end of the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'T>)>)>.) | |
AddRange(IEnumerable<(Of <<'(T>)>>)) |
Adds the elements of the specified collection to the end of the ChannelCollectionBase<(Of <(<'T>)>)>.
| |
Attributes |
Gets a Dictionary<(Of <(<'TKey, TValue>)>)> of string based property names and values for this IChannel object.
| |
BinaryImage |
Gets the binary image of this ChannelCollectionBase<(Of <(<'T>)>)>.
| |
BinaryLength |
Gets the length of the BinaryImage.
| |
Clear()()()() |
Removes all elements from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'T>)>)>.) | |
ClearItems()()()() |
Removes all elements from the ChannelCollectionBase<(Of <(<'T>)>)>.
(Overrides Collection<(Of <(<'T>)>)>.ClearItems()()()().) | |
CollectionChanged |
Notifies listeners of dynamic changes, such as when items get added and removed or the whole list is refreshed.
| |
Contains(T) |
Determines whether an element is in the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'T>)>)>.) | |
CopyImage(ISupportBinaryImage, array<Byte>[]()[][], Int32%) |
This is a common optimized block copy function for any kind of data.
(Inherited from Common.) | |
CopyTo(array<T>[]()[][], Int32) |
Copies the entire Collection<(Of <(<'T>)>)> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from Collection<(Of <(<'T>)>)>.) | |
Count |
Gets the number of elements actually contained in the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'T>)>)>.) | |
Equals(Object) | (Inherited from Object.) | |
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetEnumerator()()()() |
Returns an enumerator that iterates through the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'T>)>)>.) | |
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetObjectData(SerializationInfo, StreamingContext) |
Populates a SerializationInfo with the data needed to serialize the target object.
| |
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
IndexOf(T) |
Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'T>)>)>.) | |
Insert(Int32, T) |
Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index.
(Inherited from Collection<(Of <(<'T>)>)>.) | |
InsertItem(Int32, T) |
Inserts an element into the ChannelCollectionBase<(Of <(<'T>)>)> at the specified index.
(Overrides Collection<(Of <(<'T>)>)>.InsertItem(Int32, T).) | |
Item[([( Int32])]) |
Gets or sets the element at the specified index.
(Inherited from Collection<(Of <(<'T>)>)>.) | |
Items |
Gets a IList<(Of <(<'T>)>)> wrapper around the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'T>)>)>.) | |
MaximumCount |
Gets or sets the maximum allowed number of items for this ChannelCollectionBase<(Of <(<'T>)>)>.
| |
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
OnCollectionChanged(NotifyCollectionChangedEventArgs) |
Raises the NotifyCollectionChangedEventHandler event.
| |
RefreshBinding()()()() |
Manually sends a Reset to the collection changed event.
| |
Remove(T) |
Removes the first occurrence of a specific object from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'T>)>)>.) | |
RemoveAt(Int32) |
Removes the element at the specified index of the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'T>)>)>.) | |
RemoveItem(Int32) |
Removes the element at the specified index of the ChannelCollectionBase<(Of <(<'T>)>)>.
(Overrides Collection<(Of <(<'T>)>)>.RemoveItem(Int32).) | |
SetItem(Int32, T) |
Replaces the element at the specified index.
(Overrides Collection<(Of <(<'T>)>)>.SetItem(Int32, T).) | |
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.
| |
ToString()()()() | (Inherited from Object.) |
Remarks
This channel collection implements IChannel (inherited via IChannelCollection<(Of <(<'T>)>)>) for the benefit
of providing a cumulative binary image of the entire collection.
Inheritance Hierarchy
Object | |||
Collection<(Of <(<'T>)>)> | |||
ChannelCollectionBase<(Of <(<'T>)>)> | |||
ChannelCellCollectionBase<(Of <(<'T>)>)> | |||
ChannelDefinitionCollectionBase<(Of <(<'T>)>)> | |||
ChannelFrameCollectionBase<(Of <(<'T>)>)> | |||
ChannelValueCollectionBase<(Of <(<'TDefinition, TValue>)>)> |