Class CreateStruct
Creates a struct with its default initializer.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
public sealed class CreateStruct : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Constructors
CreateStruct()
Declaration
[Obsolete("This parameterless constructor is only made public for serialization. Use another constructor instead.", true)]
public CreateStruct()
CreateStruct(Type)
Declaration
public CreateStruct(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type |
Properties
canDefine
Declaration
public override bool canDefine { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.canDefine
enter
The entry point to create the struct. You can still get the return value without connecting this port.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, showDocumentation = false)]
public ControlInput enter { get; }
Property Value
Type | Description |
---|---|
ControlInput |
exit
The action to call once the struct has been created.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, showDocumentation = false)]
public ControlOutput exit { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
output
The created struct.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, showDocumentation = false)]
public ValueOutput output { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
type
Declaration
[DoNotSerialize]
[Inspectable]
public Type type { get; set; }
Property Value
Type | Description |
---|---|
Type |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()