Table of Contents

Class CopyFolderAction

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

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 string

The name of the action

source string

The source folder to copy

target string

The target folder to copy to (will be created if needed)

Properties

Source

Gets the source directory

public string Source { get; }

Property Value

string

Target

Gets or sets the target directory

public string Target { get; }

Property Value

string

Methods

Execute(CancellationToken)

Called when the action must execute

public override Task Execute(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task