Artemis Artemis
Artemis Artemis

Search Results for

    Class DeleteFolderAction

    Represents a plugin prerequisite action that recursively deletes a folder

    Inheritance
    object
    CorePropertyChanged
    PluginPrerequisiteAction
    DeleteFolderAction
    Inherited Members
    PluginPrerequisiteAction.Name
    PluginPrerequisiteAction.Status
    PluginPrerequisiteAction.ProgressIndeterminate
    PluginPrerequisiteAction.SubProgressIndeterminate
    PluginPrerequisiteAction.ShowProgressBar
    PluginPrerequisiteAction.ShowSubProgressBar
    PluginPrerequisiteAction.Progress
    PluginPrerequisiteAction.SubProgress
    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
    Overrides
    PluginPrerequisiteAction.Execute(CancellationToken)
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.