EmulatorInstalledVersion14.1
Class in Unbroken.LaunchBox.Plugins.Components.Emulators
public sealed class EmulatorInstalledVersionRepresents a known installed emulator version or an explicit unknown result.
Properties
IsKnownGets whether EmulatorInstalledVersion.Value contains a known version.UnknownGets the shared unknown-version result.ValueGets the installed version, or null when it is unknown.
IsKnown
public bool IsKnown { get; }Gets whether EmulatorInstalledVersion.Value contains a known version.
Unknown
public static EmulatorInstalledVersion Unknown { get; }Gets the shared unknown-version result.
Value
public string? Value { get; }Gets the installed version, or
null when it is unknown.Methods
FromValueCreates a known or unknown result from a nullable version value.KnownCreates a known installed-version result.
FromValue
public static EmulatorInstalledVersion FromValue(string? value)Creates a known or unknown result from a nullable version value.
value- The installed version, or
nullwhen it is unknown.
Returns
A known result for a non-empty value; otherwise, EmulatorInstalledVersion.Unknown.Known
public static EmulatorInstalledVersion Known(string value)Creates a known installed-version result.
value- The non-empty installed version.