Class CopyFolderAction
Represents a plugin prerequisite action that copies a folder
public class CopyFolderAction : PluginPrerequisiteAction
- Inheritance
-
objectCorePropertyChangedCopyFolderAction
- 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
namestringThe name of the action
sourcestringThe source folder to copy
targetstringThe 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
cancellationTokenCancellationToken