Class CreateStruct
Creates a struct with its default initializer.
Syntax
public sealed class CreateStruct : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Constructors
CreateStruct()
Declaration
[Obsolete("This parameterless constructor is only made public for serialization. Use another constructor instead.")]
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
Overrides
enter
The entry point to create the struct. You can
still get the return value without connecting this port.
Declaration
[DoNotSerialize]
public ControlInput enter { get; }
Property Value
exit
The action to call once the struct has been created.
Declaration
[DoNotSerialize]
public ControlOutput exit { get; }
Property Value
output
Declaration
[DoNotSerialize]
public ValueOutput output { get; }
Property Value
type
Declaration
[Serialize]
public Type type { get; }
Property Value
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Extension Methods