Class DeleteFolderAction
Represents a plugin prerequisite action that recursively deletes a folder
Inherited Members
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public class DeleteFolderAction : PluginPrerequisiteAction
Constructors
DeleteFolderAction(string, string)
Creates a new instance of a copy folder action
Declaration
public DeleteFolderAction(string name, string target)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the action |
| string | target | The target folder to delete recursively |
Properties
Target
Gets or sets the target directory
Declaration
public string Target { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Execute(CancellationToken)
Called when the action must execute
Declaration
public override Task Execute(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |