Table of Contents

Class FileActivationRouter

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

Decides whether a File-kind activation should enter the Archive Browser (T-F05) or fall back to the existing "add these paths to the pending archive-creation list" behavior. Lives in Archiver.App.Core (not Archiver.App) so the decision is unit-testable without a WinUI test host — mirrors ArchiveTreeIndex's split for the same reason.

public static class FileActivationRouter
Inheritance
FileActivationRouter
Inherited Members

Methods

Decide(IReadOnlyList<string>)

Routes a File-kind activation to Browse (single recognized archive) or AddToList (anything else).

public static FileActivationDecision Decide(IReadOnlyList<string> paths)

Parameters

paths IReadOnlyList<string>

Returns

FileActivationDecision