Class Linker.PortReferenceDescriptor
Class PortReferenceDescriptor.
Namespace: Mechatronics.SystemGraph
Syntax
public class PortReferenceDescriptor
Constructors
PortReferenceDescriptor()
Initializes a new instance of the Linker.PortReferenceDescriptor class.
Declaration
protected PortReferenceDescriptor()
PortReferenceDescriptor(String, Type, String, Linker.NodeReferenceDescriptor, FieldInfo, String, FieldAttribute, Object)
Initializes a new instance of the Linker.PortReferenceDescriptor class.
Declaration
public PortReferenceDescriptor(string portName, Type portType, string dataModelKey, Linker.NodeReferenceDescriptor nodeOwner, FieldInfo portDataRef, string fieldName = null, FieldAttribute attribute = null, object patchedOwner = null)
Parameters
| Type | Name | Description |
|---|---|---|
| String | portName | Name of the port. |
| Type | portType | Type of the port. |
| String | dataModelKey | The data model key. |
| Linker.NodeReferenceDescriptor | nodeOwner | The node owner. |
| FieldInfo | portDataRef | The port data reference. |
| String | fieldName | Name of the field. |
| FieldAttribute | attribute | The attribute. |
| Object | patchedOwner | The patched owner. |
Fields
attribute
The attribute
Declaration
public FieldAttribute attribute
Field Value
| Type | Description |
|---|---|
| FieldAttribute |
dataModelKey
The data model key
Declaration
public string dataModelKey
Field Value
| Type | Description |
|---|---|
| String |
fieldName
The field name
Declaration
public string fieldName
Field Value
| Type | Description |
|---|---|
| String |
mapConverter
The map converter
Declaration
public Dictionary<Type, object> mapConverter
Field Value
| Type | Description |
|---|---|
| Dictionary<Type, Object> |
node
The node
Declaration
public Linker.NodeReferenceDescriptor node
Field Value
| Type | Description |
|---|---|
| Linker.NodeReferenceDescriptor |
portData
The port data
Declaration
public FieldInfo portData
Field Value
| Type | Description |
|---|---|
| FieldInfo |
portId
The port identifier
Declaration
public ulong portId
Field Value
| Type | Description |
|---|---|
| UInt64 |
portName
The port name
Declaration
public string portName
Field Value
| Type | Description |
|---|---|
| String |
portType
The port type
Declaration
public Type portType
Field Value
| Type | Description |
|---|---|
| Type |
Properties
runtimeOwner
Gets or sets the runtime owner.
Declaration
public object runtimeOwner { get; set; }
Property Value
| Type | Description |
|---|---|
| Object | The runtime owner. |
Methods
AssignConverter(Linker.PortReferenceDescriptor)
Assigns the port converter to this port reference
Declaration
public object AssignConverter(Linker.PortReferenceDescriptor target)
Parameters
| Type | Name | Description |
|---|---|---|
| Linker.PortReferenceDescriptor | target | The target. |
Returns
| Type | Description |
|---|---|
| Object | System.Object. |
AssignInterConnect(Linker.PortReferenceDescriptor)
Assigns the inter connect between graphs
Declaration
public object AssignInterConnect(Linker.PortReferenceDescriptor target)
Parameters
| Type | Name | Description |
|---|---|---|
| Linker.PortReferenceDescriptor | target | The target. |
Returns
| Type | Description |
|---|---|
| Object | System.Object. |