Table of Contents

Class ModItem

Namespace
McServerLauncher.Models
Assembly
McServerLauncher.dll

A base class for objects of which the properties must be observable.

public class ModItem : ObservableObject, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
ModItem
Implements
Inherited Members

Constructors

ModItem(string, string, bool)

public ModItem(string filePath, string fileName, bool isEnabled)

Parameters

filePath string
fileName string
isEnabled bool

Properties

FileName

[ExcludeFromCodeCoverage]
public string FileName { get; set; }

Property Value

string

FilePath

public string FilePath { get; }

Property Value

string

IsEnabled

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

Property Value

bool

IsUpdating

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

Property Value

bool

Update

Set by the update check when a newer version exists on Modrinth; null otherwise.

[ExcludeFromCodeCoverage]
public ModUpdateInfo? Update { get; set; }

Property Value

ModUpdateInfo

UpdateAvailable

public bool UpdateAvailable { get; }

Property Value

bool

UpdateTooltip

public string UpdateTooltip { get; }

Property Value

string