DynamicSymbolsContainer Class

Dynamic (Expandable) Symbols collection.

Inheritance Hierarchy

System.Object
  System.Dynamic.DynamicObject
    TwinCAT.TypeSystem.DynamicSymbolsContainer
Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public sealed class DynamicSymbolsContainer : DynamicObject, 
    IEnumerable<ISymbol>, IEnumerable

VB

Public NotInheritable Class DynamicSymbolsContainer
    Inherits DynamicObject
    Implements IEnumerable(Of ISymbol), IEnumerable

The DynamicSymbolsContainer type exposes the following members.

Constructors

 

Name

Description

DynamicSymbolsContainer Class 1:

DynamicSymbolsContainer

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

Properties

 

Name

Description

DynamicSymbolsContainer Class 2:

Item

Gets the DynamicSymbol with the specified name.

Methods

 

Name

Description

DynamicSymbolsContainer Class 3:

Equals

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

DynamicSymbolsContainer Class 4:

GetDynamicMemberNames

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

DynamicSymbolsContainer Class 5:

GetEnumerator

Gets the enumerator.

DynamicSymbolsContainer Class 6:

GetHashCode

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

DynamicSymbolsContainer Class 7:

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.)

DynamicSymbolsContainer Class 8:

GetType

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

DynamicSymbolsContainer Class 9:

ToString

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

DynamicSymbolsContainer Class 10:

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.)

DynamicSymbolsContainer Class 11:

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.)

DynamicSymbolsContainer Class 12:

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.)

DynamicSymbolsContainer Class 13:

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.)

DynamicSymbolsContainer Class 14:

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.)

DynamicSymbolsContainer Class 15:

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.)

DynamicSymbolsContainer Class 16:

TryGetInstance

Tries to get the IInstance. of the specified path.

DynamicSymbolsContainer Class 17:

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.).)

DynamicSymbolsContainer Class 18:

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.)

DynamicSymbolsContainer Class 19:

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.)

DynamicSymbolsContainer Class 20:

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.)

DynamicSymbolsContainer Class 21:

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.)

DynamicSymbolsContainer Class 22:

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 DynamicSymbolsContainer collection adds dynamically its child Symbols as Members (for access like "Main.Symbol")

Reference

TwinCAT.TypeSystem Namespace