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
UpdateCommandstringShell command to update the package database.
InstallCommandstringShell command to install the requested packages.
ManagerNamestringHuman-readable manager name for logging.
Properties
InstallCommand
Shell command to install the requested packages.
public string InstallCommand { get; init; }
Property Value
ManagerName
Human-readable manager name for logging.
public string ManagerName { get; init; }
Property Value
UpdateCommand
Shell command to update the package database.
public string UpdateCommand { get; init; }