Class SingleInstruction
Inherited Members
Namespace: SociallyDistant.Core.Core.Scripting.Instructions
Assembly: SociallyDistant.Framework.dll
Syntax
public sealed class SingleInstruction : ShellInstructionConstructors
SingleInstruction(CommandData)
Declaration
public SingleInstruction(CommandData command)Parameters
| Type | Name | Description | 
|---|---|---|
| CommandData | command | 
Methods
RunAsync(IConsoleDriver, IScriptExecutionContext)
Declaration
public override Task<int> RunAsync(IConsoleDriver console, IScriptExecutionContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| IConsoleDriver | console | |
| IScriptExecutionContext | context | 
Returns
| Type | Description | 
|---|---|
| Task<int> |