Table of Contents

Class PackageManagerInfo

Namespace
FishMMO.Installer
Assembly
FishMMO-Installer.dll

Information about a detected Linux package manager.

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

Constructors

PackageManagerInfo(string, string, string)

Information about a detected Linux package manager.

public PackageManagerInfo(string UpdateCommand, string InstallCommand, string ManagerName)

Parameters

UpdateCommand string

Shell command to update the package database.

InstallCommand string

Shell command to install the requested packages.

ManagerName string

Human-readable manager name for logging.

Properties

InstallCommand

Shell command to install the requested packages.

public string InstallCommand { get; init; }

Property Value

string

ManagerName

Human-readable manager name for logging.

public string ManagerName { get; init; }

Property Value

string

UpdateCommand

Shell command to update the package database.

public string UpdateCommand { get; init; }

Property Value

string