Table of Contents

Class ListActions

Namespace
Archiver.App.Core
Assembly
Archiver.App.Core.dll

What the list allows, and which action the window emphasizes.

public sealed record ListActions : IEquatable<ListActions>
Inheritance
ListActions
Implements
Inherited Members

Constructors

ListActions(bool, bool, bool, PrimaryAction, bool, IReadOnlyList<string>)

What the list allows, and which action the window emphasizes.

public ListActions(bool CanCompress, bool CanExtract, bool ExtractUnavailable, PrimaryAction Accent, bool ArchivesOnly, IReadOnlyList<string> ExtractablePaths)

Parameters

CanCompress bool

The list is not empty.

CanExtract bool

At least one item is an archive Pakko may open (T-F212).

ExtractUnavailable bool

The list has items but none is such an archive — the window says why Extract is off.

Accent PrimaryAction

The button drawn as the primary one.

ArchivesOnly bool

Every item is such an archive: the "New archive" options collapse.

ExtractablePaths IReadOnlyList<string>

The items Extract runs on, in list order.

Properties

Accent

The button drawn as the primary one.

public PrimaryAction Accent { get; init; }

Property Value

PrimaryAction

ArchivesOnly

Every item is such an archive: the "New archive" options collapse.

public bool ArchivesOnly { get; init; }

Property Value

bool

CanCompress

The list is not empty.

public bool CanCompress { get; init; }

Property Value

bool

CanExtract

At least one item is an archive Pakko may open (T-F212).

public bool CanExtract { get; init; }

Property Value

bool

ExtractUnavailable

The list has items but none is such an archive — the window says why Extract is off.

public bool ExtractUnavailable { get; init; }

Property Value

bool

ExtractablePaths

The items Extract runs on, in list order.

public IReadOnlyList<string> ExtractablePaths { get; init; }

Property Value

IReadOnlyList<string>