Class ModVersionViewModel
- Namespace
- McServerLauncher.ViewModels
- Assembly
- McServerLauncher.dll
One published version, with the button that installs exactly that one.
public class ModVersionViewModel : ObservableObject, INotifyPropertyChanged, INotifyPropertyChanging
- Inheritance
-
ModVersionViewModel
- Implements
- Inherited Members
Constructors
ModVersionViewModel(ModDetailsViewModel, VersionResult)
public ModVersionViewModel(ModDetailsViewModel parent, VersionResult version)
Parameters
parentModDetailsViewModelversionVersionResult
Properties
DateText
public string DateText { get; }
Property Value
DownloadsText
public string DownloadsText { get; }
Property Value
HasSize
public bool HasSize { get; }
Property Value
InstallCommand
Gets an IAsyncRelayCommand instance wrapping McServerLauncher.ViewModels.ModVersionViewModel.Install().
[ExcludeFromCodeCoverage]
public IAsyncRelayCommand InstallCommand { get; }
Property Value
IsInstalling
[ExcludeFromCodeCoverage]
public bool IsInstalling { get; set; }
Property Value
Name
public string Name { get; }
Property Value
SizeText
public string SizeText { get; }
Property Value
TypeBrush
public IBrush TypeBrush { get; }
Property Value
- IBrush
TypeText
"release", "beta" or "alpha", shown as a coloured chip.
public string TypeText { get; }
Property Value
VersionNumber
public string VersionNumber { get; }