DynamicSymbolsCollection Class

Dynamic (Expandable) Symbols collection.

Inheritance Hierarchy

System.Object
  System.Dynamic.DynamicObject
    TwinCAT.TypeSystem.DynamicSymbolsCollection
Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

public sealed class DynamicSymbolsCollection : DynamicObject, 
    IDynamicSymbolsCollection, IDynamicMetaObjectProvider, IEnumerable<ISymbol>, IEnumerable

The DynamicSymbolsCollection type exposes the following members.

Constructors

 

Name

Description

DynamicSymbolsCollection Class 1:

DynamicSymbolsCollection(IEnumerable.ISymbol.)

Initializes a new instance of the DynamicSymbolsCollection class (for internal use only)

DynamicSymbolsCollection Class 2:

DynamicSymbolsCollection(SymbolCollection.ISymbol.)

Initializes a new instance of the DynamicSymbolsCollection class (for internal use only)

Properties

 

Name

Description

DynamicSymbolsCollection Class 3:

Empty

Gets an empty collection.

DynamicSymbolsCollection Class 4:

Item

Gets the DynamicSymbol with the specified name.

Methods

 

Name

Description

DynamicSymbolsCollection Class 5:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

DynamicSymbolsCollection Class 6:

GetDynamicMemberNames

Returns the enumeration of all dynamic member names. (Overrides DynamicObject.GetDynamicMemberNames..)

DynamicSymbolsCollection Class 7:

GetEnumerator

Gets the enumerator.

DynamicSymbolsCollection Class 8:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

DynamicSymbolsCollection Class 9:

GetMetaObject

Provides a DynamicMetaObject that dispatches to the dynamic virtual methods. The object can be encapsulated inside another DynamicMetaObject to provide custom behavior for individual actions. This method supports the Dynamic Language Runtime infrastructure for language implementers and it is not intended to be used directly from your code. (Inherited from DynamicObject.)

DynamicSymbolsCollection Class 10:

GetType

Gets the Type of the current instance. (Inherited from Object.)

DynamicSymbolsCollection Class 11:

ToString

Returns a string that represents the current object. (Inherited from Object.)

DynamicSymbolsCollection Class 12:

TryBinaryOperation

Provides implementation for binary operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as addition and multiplication. (Inherited from DynamicObject.)

DynamicSymbolsCollection Class 13:

TryConvert

Provides implementation for type conversion operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations that convert an object from one type to another. (Inherited from DynamicObject.)

DynamicSymbolsCollection Class 14:

TryCreateInstance

Provides the implementation for operations that initialize a new instance of a dynamic object. This method is not intended for use in C# or Visual Basic. (Inherited from DynamicObject.)

DynamicSymbolsCollection Class 15:

TryDeleteIndex

Provides the implementation for operations that delete an object by index. This method is not intended for use in C# or Visual Basic. (Inherited from DynamicObject.)

DynamicSymbolsCollection Class 16:

TryDeleteMember

Provides the implementation for operations that delete an object member. This method is not intended for use in C# or Visual Basic. (Inherited from DynamicObject.)

DynamicSymbolsCollection Class 17:

TryGetIndex

Provides the implementation for operations that get a value by index. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for indexing operations. (Inherited from DynamicObject.)

DynamicSymbolsCollection Class 18:

TryGetInstance

Tries to get the IInstance. of the specified path.

DynamicSymbolsCollection Class 19:

TryGetMember

Provides the implementation for operations that get member values. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as getting a value for a property. (Overrides DynamicObject.TryGetMember(GetMemberBinder, Object.).)

DynamicSymbolsCollection Class 20:

TryInvoke

Provides the implementation for operations that invoke an object. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as invoking an object or a delegate. (Inherited from DynamicObject.)

DynamicSymbolsCollection Class 21:

TryInvokeMember

Provides the implementation for operations that invoke a member. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as calling a method. (Inherited from DynamicObject.)

DynamicSymbolsCollection Class 22:

TrySetIndex

Provides the implementation for operations that set a value by index. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations that access objects by a specified index. (Inherited from DynamicObject.)

DynamicSymbolsCollection Class 23:

TrySetMember

Provides the implementation for operations that set member values. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as setting a value for a property. (Inherited from DynamicObject.)

DynamicSymbolsCollection Class 24:

TryUnaryOperation

Provides implementation for unary operations. Classes derived from the DynamicObject class can override this method to specify dynamic behavior for operations such as negation, increment, or decrement. (Inherited from DynamicObject.)

Remarks

The DynamicSymbolsCollection collection adds dynamically its child Symbols as Members (for access like "Main.Symbol")

Reference

TwinCAT.TypeSystem Namespace