Table of Contents

Class ExtractArchiveAction

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

Represents a plugin prerequisite action that extracts a ZIP file

public class ExtractArchiveAction : PluginPrerequisiteAction
Inheritance
object
CorePropertyChanged
ExtractArchiveAction
Inherited Members

Constructors

ExtractArchiveAction(string, string, string)

Creates a new instance of ExtractArchiveAction.

public ExtractArchiveAction(string name, string fileName, string target)

Parameters

name string

The name of the action

fileName string

The ZIP file to extract

target string

The folder into which to extract the file

Properties

FileName

Gets the file to extract

public string FileName { get; }

Property Value

string

FilesToExtract

Gets or sets an optional list of files to extract, if null all files will be extracted.

public List<string>? FilesToExtract { get; set; }

Property Value

List<string>

Target

Gets the folder into which to extract the file

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