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
Properties
FileName
[ExcludeFromCodeCoverage]
public string FileName { get; set; }
Property Value
FilePath
public string FilePath { get; }
Property Value
IsEnabled
[ExcludeFromCodeCoverage]
public bool IsEnabled { get; set; }
Property Value
IsUpdating
[ExcludeFromCodeCoverage]
public bool IsUpdating { get; set; }
Property Value
Update
Set by the update check when a newer version exists on Modrinth; null otherwise.
[ExcludeFromCodeCoverage]
public ModUpdateInfo? Update { get; set; }
Property Value
UpdateAvailable
public bool UpdateAvailable { get; }
Property Value
UpdateTooltip
public string UpdateTooltip { get; }