Search Results for

    Show / Hide Table of Contents

    Class FlowGraphRuntimeExtensions

    Inheritance
    object
    FlowGraphRuntimeExtensions
    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 static class FlowGraphRuntimeExtensions

    Methods

    GetEventHandler(IFlowGraphRuntime)

    Get the bound to runtime FlowGraph instance

    Declaration
    public static CallbackEventHandler GetEventHandler(this IFlowGraphRuntime runtime)
    Parameters
    Type Name Description
    IFlowGraphRuntime runtime
    Returns
    Type Description
    CallbackEventHandler

    GetRuntimeFlowGraph(IFlowGraphRuntime)

    Get runtime FlowGraph instance

    Declaration
    public static FlowGraph GetRuntimeFlowGraph(this IFlowGraphRuntime runtime)
    Parameters
    Type Name Description
    IFlowGraphRuntime runtime
    Returns
    Type Description
    FlowGraph
    Remarks

    Convenient for inheritors to implicitly obtain the runtime graph instance when Graph is explicitly implemented.

    OverrideEventImplementation<TEventType>(IFlowGraphRuntime, EventCallback<TEventType>)

    Override graph implementation of >

    Declaration
    public static IDisposable OverrideEventImplementation<TEventType>(this IFlowGraphRuntime runtime, EventCallback<TEventType> implementation) where TEventType : EventBase<TEventType>, new()
    Parameters
    Type Name Description
    IFlowGraphRuntime runtime
    EventCallback<><TEventType> implementation
    Returns
    Type Description
    IDisposable
    Type Parameters
    Name Description
    TEventType

    ProcessEvent(IFlowGraphRuntime, string)

    Invoke flow graph event

    Declaration
    public static void ProcessEvent(this IFlowGraphRuntime runtime, string eventName = "")
    Parameters
    Type Name Description
    IFlowGraphRuntime runtime
    string eventName

    ProcessEvent<T1>(IFlowGraphRuntime, T1, string)

    Invoke flow graph event with parameters

    Declaration
    public static void ProcessEvent<T1>(this IFlowGraphRuntime runtime, T1 arg1, string eventName = "")
    Parameters
    Type Name Description
    IFlowGraphRuntime runtime
    T1 arg1
    string eventName
    Type Parameters
    Name Description
    T1

    ProcessEvent<T1, T2>(IFlowGraphRuntime, T1, T2, string)

    Invoke flow graph event with parameters

    Declaration
    public static void ProcessEvent<T1, T2>(this IFlowGraphRuntime runtime, T1 arg1, T2 arg2, string eventName = "")
    Parameters
    Type Name Description
    IFlowGraphRuntime runtime
    T1 arg1
    T2 arg2
    string eventName
    Type Parameters
    Name Description
    T1
    T2

    ProcessEvent<T1, T2, T3>(IFlowGraphRuntime, T1, T2, T3, string)

    Invoke flow graph event with parameters

    Declaration
    public static void ProcessEvent<T1, T2, T3>(this IFlowGraphRuntime runtime, T1 arg1, T2 arg2, T3 arg3, string eventName = "")
    Parameters
    Type Name Description
    IFlowGraphRuntime runtime
    T1 arg1
    T2 arg2
    T3 arg3
    string eventName
    Type Parameters
    Name Description
    T1
    T2
    T3

    ProcessEvent<T1, T2, T3, T4>(IFlowGraphRuntime, T1, T2, T3, T4, string)

    Invoke flow graph event with parameters

    Declaration
    public static void ProcessEvent<T1, T2, T3, T4>(this IFlowGraphRuntime runtime, T1 arg1, T2 arg2, T3 arg3, T4 arg4, string eventName = "")
    Parameters
    Type Name Description
    IFlowGraphRuntime runtime
    T1 arg1
    T2 arg2
    T3 arg3
    T4 arg4
    string eventName
    Type Parameters
    Name Description
    T1
    T2
    T3
    T4

    ProcessEvent<T1, T2, T3, T4, T5>(IFlowGraphRuntime, T1, T2, T3, T4, T5, string)

    Invoke flow graph event with parameters

    Declaration
    public static void ProcessEvent<T1, T2, T3, T4, T5>(this IFlowGraphRuntime runtime, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, string eventName = "")
    Parameters
    Type Name Description
    IFlowGraphRuntime runtime
    T1 arg1
    T2 arg2
    T3 arg3
    T4 arg4
    T5 arg5
    string eventName
    Type Parameters
    Name Description
    T1
    T2
    T3
    T4
    T5

    ProcessEvent<T1, T2, T3, T4, T5, T6>(IFlowGraphRuntime, T1, T2, T3, T4, T5, T6, string)

    Invoke flow graph event with parameters

    Declaration
    public static void ProcessEvent<T1, T2, T3, T4, T5, T6>(this IFlowGraphRuntime runtime, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, string eventName = "")
    Parameters
    Type Name Description
    IFlowGraphRuntime runtime
    T1 arg1
    T2 arg2
    T3 arg3
    T4 arg4
    T5 arg5
    T6 arg6
    string eventName
    Type Parameters
    Name Description
    T1
    T2
    T3
    T4
    T5
    T6

    ProcessEventUber(IFlowGraphRuntime, object[], string)

    Invoke flow graph event with any parameters

    Declaration
    public static void ProcessEventUber(this IFlowGraphRuntime runtime, object[] parameters, string eventName = "")
    Parameters
    Type Name Description
    IFlowGraphRuntime runtime
    object[] parameters
    string eventName
    Remarks

    Note that this method causes boxing and unboxing, which results in allocation. Consider using an overload method with fewer parameters.

    SendEvent(IFlowGraphRuntime, EventBase)

    Send event to runtime FlowGraph instance

    Declaration
    public static void SendEvent(this IFlowGraphRuntime runtime, EventBase @event)
    Parameters
    Type Name Description
    IFlowGraphRuntime runtime
    EventBase event

    SubscribeExecution<TEventType>(CallbackEventHandler, IFlowGraphRuntime)

    Subscribe an execution of > as callback

    Declaration
    public static IDisposable SubscribeExecution<TEventType>(this CallbackEventHandler eventHandler, IFlowGraphRuntime runtime) where TEventType : EventBase<TEventType>, new()
    Parameters
    Type Name Description
    CallbackEventHandler eventHandler
    IFlowGraphRuntime runtime
    Returns
    Type Description
    IDisposable
    Type Parameters
    Name Description
    TEventType
    In This Article
    Back to top Copyright © 2025 AkiKurisu
    Generated with DocFX