DynamicSymbolsCollection Class
Dynamic (Expandable) Symbols collection.
Inheritance Hierarchy
SystemObject
System.DynamicDynamicObject
TwinCAT.TypeSystemDynamicSymbolsCollection
Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public sealed class DynamicSymbolsCollection : DynamicObject,
IDynamicSymbolsCollection, IDynamicMetaObjectProvider, IEnumerable<ISymbol>, IEnumerableThe DynamicSymbolsCollection type exposes the following members.
Constructors
|
|
Name |
Description |
|---|---|---|
|
|
Initializes a new instance of the DynamicSymbolsCollection class (for internal use only) | |
|
|
Initializes a new instance of the DynamicSymbolsCollection class (for internal use only) |
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets an empty collection. | |
|
|
Gets the DynamicSymbol with the specified name. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Returns the enumeration of all dynamic member names. | |
|
|
Gets the enumerator. | |
|
|
Serves as the default hash function. | |
|
|
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. | |
|
|
Gets the Type of the current
instance. | |
|
|
Returns a string that represents the current object. | |
|
|
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. | |
|
|
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. | |
|
|
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. | |
|
|
Provides the implementation for operations that delete an
object by index. This method is not intended for use in C# or
Visual Basic. | |
|
|
Provides the implementation for operations that delete an
object member. This method is not intended for use in C# or Visual
Basic. | |
|
|
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. | |
|
|
Tries to get the IInstance. of the specified path. | |
|
|
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. | |
|
|
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. | |
|
|
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. | |
|
|
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. | |
|
|
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. | |
|
|
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. |
Extension Methods
|
|
Name |
Description |
|---|---|---|
|
|
Filters the symbols collection for symbols with a specific
Attribute value. |
Remarks
The DynamicSymbolsCollection collection adds dynamically its child Symbols as Members (for access like "Main.Symbol")
- DynamicSymbolsCollection Constructor (IEnumerable.ISymbol.)
- DynamicSymbolsCollection Constructor (SymbolCollection.ISymbol.)
- DynamicSymbolsCollection.Item Property
- DynamicSymbolsCollection.Empty Property
- DynamicSymbolsCollection.GetDynamicMemberNames Method
- DynamicSymbolsCollection.GetEnumerator Method
- DynamicSymbolsCollection.TryGetInstance Method
- DynamicSymbolsCollection.TryGetMember Method