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
CanCompressboolThe list is not empty.
CanExtractboolAt least one item is an archive Pakko may open (T-F212).
ExtractUnavailableboolThe list has items but none is such an archive — the window says why Extract is off.
AccentPrimaryActionThe button drawn as the primary one.
ArchivesOnlyboolEvery item is such an archive: the "New archive" options collapse.
ExtractablePathsIReadOnlyList<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
ArchivesOnly
Every item is such an archive: the "New archive" options collapse.
public bool ArchivesOnly { get; init; }
Property Value
CanCompress
The list is not empty.
public bool CanCompress { get; init; }
Property Value
CanExtract
At least one item is an archive Pakko may open (T-F212).
public bool CanExtract { get; init; }
Property Value
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
ExtractablePaths
The items Extract runs on, in list order.
public IReadOnlyList<string> ExtractablePaths { get; init; }