Table of Contents

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

parent ModDetailsViewModel
version VersionResult

Properties

DateText

public string DateText { get; }

Property Value

string

DownloadsText

public string DownloadsText { get; }

Property Value

string

HasSize

public bool HasSize { get; }

Property Value

bool

InstallCommand

Gets an IAsyncRelayCommand instance wrapping McServerLauncher.ViewModels.ModVersionViewModel.Install().

[ExcludeFromCodeCoverage]
public IAsyncRelayCommand InstallCommand { get; }

Property Value

IAsyncRelayCommand

IsInstalling

[ExcludeFromCodeCoverage]
public bool IsInstalling { get; set; }

Property Value

bool

Name

public string Name { get; }

Property Value

string

SizeText

public string SizeText { get; }

Property Value

string

TypeBrush

public IBrush TypeBrush { get; }

Property Value

IBrush

TypeText

"release", "beta" or "alpha", shown as a coloured chip.

public string TypeText { get; }

Property Value

string

VersionNumber

public string VersionNumber { get; }

Property Value

string