Class Is
Checks whether an object is of a given type, and casts it if is is.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitDisplay("Is")]
[UnitCategory("Flow", 35)]
public sealed class Is : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Constructors
Is()
Declaration
[Obsolete("This parameterless constructor is only made public for serialization. Use another constructor instead.", true)]
public Is()
Is(HybridType)
Declaration
public Is(HybridType type)
Parameters
Type | Name | Description |
---|---|---|
HybridType | type |
Properties
canDefine
Declaration
public override bool canDefine { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.canDefine
input
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, primary = true)]
public ValueInput input { get; }
Property Value
Type | Description |
---|---|
ValueInput |
output
Declaration
[DoNotSerialize]
[UnitPortDisplay]
public ValueOutput output { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
result
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false, primary = true)]
public ValueOutput result { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
type
Declaration
[DoNotSerialize]
[Inspectable]
public HybridType type { get; }
Property Value
Type | Description |
---|---|
HybridType |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()