Class BuildingProcess
Describes the tasks of the process and what to do when finished.
Inheritance
System.Object
BuildingProcess
Namespace: AlchemyBow.Navigation.BackgroundProcessing
Assembly: AlchemyBow.Navigation.dll
Syntax
public sealed class BuildingProcess : IBackgroundCommand, ICommand
Constructors
| Improve this Doc View SourceBuildingProcess(Queue<ICommand>, Action)
Creates a new instance of the BuildingProcess class.
Declaration
public BuildingProcess(Queue<ICommand> commands, Action onJoin)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Queue<ICommand> | commands | The tasks to be perform. |
System.Action | onJoin | What to do when finished. |
Methods
| Improve this Doc View SourceExecute()
Executes all commands.
Declaration
public void Execute()
OnJoin()
Invokes the final task.
Declaration
public void OnJoin()