Table of Contents

Class DeleteFolderAction

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

Represents a plugin prerequisite action that recursively deletes a folder

public class DeleteFolderAction : PluginPrerequisiteAction
Inheritance
object
CorePropertyChanged
DeleteFolderAction
Inherited Members

Constructors

DeleteFolderAction(string, string)

Creates a new instance of a copy folder action

public DeleteFolderAction(string name, string target)

Parameters

name string

The name of the action

target string

The target folder to delete recursively

Properties

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