Table of Contents

Class DeleteFileAction

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

Represents a plugin prerequisite action that deletes a file

public class DeleteFileAction : PluginPrerequisiteAction
Inheritance
object
CorePropertyChanged
DeleteFileAction
Inherited Members

Constructors

DeleteFileAction(string, string)

Creates a new instance of a copy folder action

public DeleteFileAction(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