Search Results for

    Show / Hide Table of Contents

    Class WorkActionSet

    Represents a set of work actions.

    Inheritance
    object
    WorkActionSet
    Implements
    IWorkActionSet
    Namespace: Evergine.Components.WorkActions
    Assembly: Evergine.Components.dll
    Syntax
    public class WorkActionSet : IWorkActionSet

    Constructors

    WorkActionSet(IWorkAction, IEnumerable<IWorkAction>)

    Initializes a new instance of the WorkActionSet class.

    Declaration
    public WorkActionSet(IWorkAction parent, IEnumerable<IWorkAction> actions)
    Parameters
    Type Name Description
    IWorkAction parent

    The parent action.

    IEnumerable<IWorkAction> actions

    The list of actions.

    WorkActionSet(IWorkAction, IEnumerable<Func<IWorkAction>>)

    Initializes a new instance of the WorkActionSet class.

    Declaration
    public WorkActionSet(IWorkAction parent, IEnumerable<Func<IWorkAction>> actionGenerators)
    Parameters
    Type Name Description
    IWorkAction parent

    The parent action.

    IEnumerable<Func<IWorkAction>> actionGenerators

    The list of actions.

    WorkActionSet(IEnumerable<IWorkAction>, Scene)

    Initializes a new instance of the WorkActionSet class.

    Declaration
    public WorkActionSet(IEnumerable<IWorkAction> actions, Scene scene = null)
    Parameters
    Type Name Description
    IEnumerable<IWorkAction> actions

    The action list.

    Scene scene

    The associated scene.

    WorkActionSet(IEnumerable<Func<IWorkAction>>, Scene)

    Initializes a new instance of the WorkActionSet class.

    Declaration
    public WorkActionSet(IEnumerable<Func<IWorkAction>> actionGenerators, Scene scene = null)
    Parameters
    Type Name Description
    IEnumerable<Func<IWorkAction>> actionGenerators

    The action list.

    Scene scene

    The associated scene.

    Methods

    WaitAll()

    Returns an action that will be completed when all actions have been completed.

    Declaration
    public IWorkAction WaitAll()
    Returns
    Type Description
    IWorkAction

    The task.

    WaitAny()

    Returns an action that will be completed when any action has been completed.

    Declaration
    public IWorkAction WaitAny()
    Returns
    Type Description
    IWorkAction

    The task.

    WaitCount(int)

    Returns an action that will be completed when all actions have been completed.

    Declaration
    public IWorkAction WaitCount(int count)
    Parameters
    Type Name Description
    int count

    The count limit.

    Returns
    Type Description
    IWorkAction

    The task.

    WaitPredicate(Func<bool, IWorkAction[]>)

    Waits for the predicate.

    Declaration
    public IWorkAction WaitPredicate(Func<bool, IWorkAction[]> waitingTaskPredicate)
    Parameters
    Type Name Description
    Func<bool, IWorkAction[]> waitingTaskPredicate

    The waiting task predicate.

    Returns
    Type Description
    IWorkAction

    The task.

    Implements

    IWorkActionSet

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX