ObjectConnectivity

Implementation of IObjectConnectivity.

Constructors

ObjectConnectivity

#
public ObjectConnectivity(Guid owner, IEnumerable<Guid> inputs, IEnumerable<Guid> outputs)
Create a connectivity map.
owner (Guid)InstanceId of owner object.
inputs (IEnumerable<Guid>)Collection of input instanceIds.
outputs (IEnumerable<Guid>)Collection of output instanceIds.

ObjectConnectivity

#
public ObjectConnectivity(Guid owner)
Create an empty connectivity map.
owner (Guid)InstanceId of owner object.

Properties

InputCount

#
public int InputCount { get; }
Gets the number of inputs.
InputCount

Inputs

#
public IEnumerable<Guid> Inputs { get; }
Gets a collection of all the parameters that are connected to the left side of this object.
Inputs

OutputCount

#
public int OutputCount { get; }
Gets the number of outputs.
OutputCount

Outputs

#
public IEnumerable<Guid> Outputs { get; }
Gets a collection of all the parameters that are connected to the right side of this object.
Outputs

Owner

#
public Guid Owner { get; }
Gets the instanceId of the object associated with this connectivity map.
Owner

Methods

Input

#
public Guid Input(int index)
Gets the input id at the given index.
index (int)
Input

Output

#
public Guid Output(int index)
Gets the output id at the given index.
index (int)
Output