Class PortDescriptor
Namespace: Unity.Reflect.ActorFramework
Syntax
public class PortDescriptor
Fields
DisplayName
A user friendly name
Declaration
public string DisplayName
Field Value
| Type | Description |
|---|---|
| String |
Id
The unique id of the port
Declaration
public Guid Id
Field Value
| Type | Description |
|---|---|
| Guid |
IsGeneratedId
Indicates if the id is generated or is coming from a stable source.
Declaration
public bool IsGeneratedId
Field Value
| Type | Description |
|---|---|
| Boolean |
IsVirtual
Indicates if the port has a mapping in the code (field, method, ...) or not (virtual).
Declaration
public bool IsVirtual
Field Value
| Type | Description |
|---|---|
| Boolean |
LinkTypes
All the types forming the constraints for linking this port to another one.
Declaration
public Type[] LinkTypes
Field Value
| Type | Description |
|---|---|
| Type[] |
PortType
The direction of the port.
Declaration
public PortType PortType
Field Value
| Type | Description |
|---|---|
| PortType |
SyntaxTreeName
The name of the mapped field, method. Contains a generated name if virtual.
Declaration
public string SyntaxTreeName
Field Value
| Type | Description |
|---|---|
| String |
Type
The full type of the port
Declaration
public Type Type
Field Value
| Type | Description |
|---|---|
| Type |