Class CopyFolderAction
Represents a plugin prerequisite action that copies a folder
Inherited Members
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public class CopyFolderAction : PluginPrerequisiteAction
Constructors
CopyFolderAction(string, string, string)
Creates a new instance of a copy folder action
Declaration
public CopyFolderAction(string name, string source, string target)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the action |
string | source | The source folder to copy |
string | target | The target folder to copy to (will be created if needed) |
Properties
Source
Gets the source directory
Declaration
public string Source { get; }
Property Value
Type | Description |
---|---|
string |
Target
Gets or sets the target directory
Declaration
public string Target { get; }
Property Value
Type | Description |
---|---|
string |
Methods
Execute(CancellationToken)
Called when the action must execute
Declaration
public override Task Execute(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |