Search Results for

    Show / Hide Table of Contents

    Class ActionWorkAction

    A work action that executes an Action.

    Inheritance
    object
    WorkAction
    ActionWorkAction
    Implements
    IWorkAction
    Inherited Members
    WorkAction.Completed
    WorkAction.Canceled
    WorkAction.IsSkippable
    WorkAction.Skipped
    WorkAction.State
    WorkAction.Scene
    WorkAction.ChildActions
    WorkAction.Run()
    WorkAction.TrySkip()
    WorkAction.Cancel()
    WorkAction.PerformCompleted()
    WorkAction.PerformCancel()
    WorkAction.PerformSkip()
    Namespace: Evergine.Components.WorkActions
    Assembly: Evergine.Components.dll
    Syntax
    public class ActionWorkAction : WorkAction, IWorkAction

    Constructors

    ActionWorkAction(IWorkAction, Action)

    Initializes a new instance of the ActionWorkAction class.

    Declaration
    public ActionWorkAction(IWorkAction parent, Action action)
    Parameters
    Type Name Description
    IWorkAction parent

    The parent task.

    Action action

    The action to execute.

    ActionWorkAction(Action, Scene)

    Initializes a new instance of the ActionWorkAction class.

    Declaration
    public ActionWorkAction(Action action, Scene scene = null)
    Parameters
    Type Name Description
    Action action

    The action to execute.

    Scene scene

    The associated scene.

    Methods

    PerformRun()

    Performs the run action.

    Declaration
    protected override void PerformRun()
    Overrides
    WorkAction.PerformRun()

    Implements

    IWorkAction

    Extension Methods

    WorkActionFactory.AndWaitCondition(IWorkAction, Func<bool>, int)
    WorkActionFactory.AsSkippableWorkAction(IWorkAction)
    WorkActionFactory.ContinueWith(IWorkAction, IWorkAction)
    WorkActionFactory.ContinueWith(IWorkAction, params IWorkAction[])
    WorkActionFactory.ContinueWith(IWorkAction, IEnumerable<IWorkAction>)
    WorkActionFactory.ContinueWith(IWorkAction, Func<IWorkAction>)
    WorkActionFactory.ContinueWith(IWorkAction, params Func<IWorkAction>[])
    WorkActionFactory.ContinueWithAction(IWorkAction, Action)
    WorkActionFactory.CreateParallelWorkActions(IWorkAction, IEnumerable<IWorkAction>)
    WorkActionFactory.Delay(IWorkAction, TimeSpan)
    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX