Artemis Artemis
Artemis Artemis

Search Results for

    Class CopyFolderAction

    Represents a plugin prerequisite action that copies a folder

    Inheritance
    object
    CorePropertyChanged
    PluginPrerequisiteAction
    CopyFolderAction
    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 CopyFolderAction : PluginPrerequisiteAction

    Constructors

    CopyFolderAction(string, string, string)

    Creates a new instance of a copy folder action

    Declaration
    public CopyFolderAction(string name, string source, string target)
    Parameters
    Type Name Description
    string name

    The name of the action

    string source

    The source folder to copy

    string target

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

    Properties

    Source

    Gets the source directory

    Declaration
    public string Source { get; }
    Property Value
    Type Description
    string

    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.