Class CopyFolderAction
Represents a plugin prerequisite action that copies a folder
public class CopyFolderAction : PluginPrerequisiteAction
- Inheritance
-
CopyFolderAction
- Inherited Members
Constructors
CopyFolderAction(string, string, string)
Creates a new instance of a copy folder action
public CopyFolderAction(string name, string source, string target)
Parameters
name
stringThe name of the action
source
stringThe source folder to copy
target
stringThe target folder to copy to (will be created if needed)
Properties
Source
Gets the source directory
public string Source { get; }
Property Value
Target
Gets or sets the target directory
public string Target { get; }
Property Value
Methods
Execute(CancellationToken)
Called when the action must execute
public override Task Execute(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken