Class ExecutionContext
Flow graph execution context
Inheritance
object
ExecutionContext
Implements
System.IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Ceres.Graph.Flow
Assembly: cs.temp.dll.dll
Syntax
public class ExecutionContext : IDisposable
Constructors
ExecutionContext()
Declaration
protected ExecutionContext()
Properties
Context
Execution source context object
Declaration
public Object Context { get; }
Property Value
| Type | Description |
|---|---|
| Object |
Graph
Execution owner graph
Declaration
public FlowGraph Graph { get; }
Property Value
| Type | Description |
|---|---|
| FlowGraph |
Methods
Dispose()
Declaration
public void Dispose()
Forward(ExecutableNode)
Execute node in forward path
Declaration
public UniTask Forward(ExecutableNode node)
Parameters
| Type | Name | Description |
|---|---|---|
| ExecutableNode | node |
Returns
| Type | Description |
|---|---|
| UniTask |
GetEvent()
Get source
Declaration
public EventBase GetEvent()
Returns
| Type | Description |
|---|---|
| EventBase |
GetEventT<T>()
Get source
Declaration
public T GetEventT<T>() where T : EventBase<T>, new()
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |
GetPooled(Object, FlowGraph, EventBase)
Declaration
public static ExecutionContext GetPooled(Object context, FlowGraph graph, EventBase evt = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | context | |
| FlowGraph | graph | |
| EventBase | evt |
Returns
| Type | Description |
|---|---|
| ExecutionContext |
SetNext(ExecutableNode)
Set execution flow next node
Declaration
public void SetNext(ExecutableNode node)
Parameters
| Type | Name | Description |
|---|---|---|
| ExecutableNode | node |
Implements
System.IDisposable