UA Bundle SDK .NET  2.1.0.222
 All Classes Namespaces Functions Variables Enumerations Properties Events Groups Pages
UnifiedAutomation.UaBase.IEncodeableCollection Class Reference

A collection of encodeable objects. More...

Inherits List< IEncodeable >.

Public Member Functions

 IEncodeableCollection ()
 Initializes an empty collection.
 
 IEncodeableCollection (IEnumerable< IEncodeable > collection)
 Initializes the collection from another collection.
 
 IEncodeableCollection (int capacity)
 Initializes the collection with the specified capacity.
 

Static Public Member Functions

static IEncodeableCollection ToIEncodeableCollection (IEncodeable[] values)
 Converts an array to a collection.
 
static implicit operator IEncodeableCollection (IEncodeable[] values)
 Converts an array to a collection.
 

Detailed Description

A collection of encodeable objects.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.IEncodeableCollection.IEncodeableCollection ( )

Initializes an empty collection.

UnifiedAutomation.UaBase.IEncodeableCollection.IEncodeableCollection ( IEnumerable< IEncodeable collection)

Initializes the collection from another collection.

Parameters
collectionThe collection whose elements are copied to the new list.
Exceptions
T:System.ArgumentNullExceptioncollection is null.
UnifiedAutomation.UaBase.IEncodeableCollection.IEncodeableCollection ( int  capacity)

Initializes the collection with the specified capacity.

Parameters
capacityThe initial capacity of the collection.

Member Function Documentation

static implicit UnifiedAutomation.UaBase.IEncodeableCollection.operator IEncodeableCollection ( IEncodeable[]  values)
static

Converts an array to a collection.

Parameters
valuesThe values to be converted to new instance of IEncodeableCollection.
Returns
The result of the conversion.
static IEncodeableCollection UnifiedAutomation.UaBase.IEncodeableCollection.ToIEncodeableCollection ( IEncodeable[]  values)
static

Converts an array to a collection.

Parameters
valuesThe values to be converted to an instance of IEncodeableCollection.
Returns
Instance of the IEncodeableCollection containing values

The documentation for this class was generated from the following file: