Table of Contents

Class FlowGraph

Namespace
Ceres.Flow
Assembly
Ceres.Flow.dll
public class FlowGraph : CeresGraph, IDisposableUnregister, IFlowExecutableProgram, IDisposable, IFlowEventDelegateTarget, IFlowEventHandlerProvider
Inheritance
FlowGraph
Implements
Derived
Inherited Members

Constructors

FlowGraph(FlowGraphSerializedData)

public FlowGraph(FlowGraphSerializedData flowGraphData)

Parameters

flowGraphData FlowGraphSerializedData

Properties

Events

All ExecutableEvent inside this graph

public ExecutableEvent[] Events { get; }

Property Value

ExecutableEvent[]

Methods

Compile(CeresGraphCompiler)

Compile graph just in time

public override void Compile(CeresGraphCompiler compiler)

Parameters

compiler CeresGraphCompiler

Runtime compiler

Dispose()

public override void Dispose()

ExecuteEvent(Object, string, EventBase)

Execute graph event

public void ExecuteEvent(Object contextObject, string eventName, EventBase evtBase = null)

Parameters

contextObject Object

Graph execution context object

eventName string

The name of event to execute

evtBase EventBase

Source event

GetExecutionContext()

Get current execution context

public ExecutionContext GetExecutionContext()

Returns

ExecutionContext

LinkPort(CeresPort, CeresNode, CeresPortData)

protected override void LinkPort(CeresPort port, CeresNode ownerNode, CeresPortData portData)

Parameters

port CeresPort
ownerNode CeresNode
portData CeresPortData

TryExecuteEvent(Object, string, EventBase)

Try to execute graph event

public bool TryExecuteEvent(Object contextObject, string eventName, EventBase evtBase = null)

Parameters

contextObject Object
eventName string
evtBase EventBase

Returns

bool