Class ConfigViewModel
An observable wrapper around a Config object.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: RuriLib.ViewModels
Assembly: RuriLib.dll
Syntax
public class ConfigViewModel : ViewModelBase, INotifyPropertyChanged
Constructors
| Improve this Doc View SourceConfigViewModel(String, String, Config)
Constructs an instance of the ConfigViewModel class.
Declaration
public ConfigViewModel(string path, string category, Config config)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | path | The path of the config file on disk |
| System.String | category | The category of the config |
| Config | config | The actual Config object |
Properties
| Improve this Doc View SourceCategory
The Category of the config.
Declaration
public string Category { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Config
The actual Config object.
Declaration
public Config Config { get; set; }
Property Value
| Type | Description |
|---|---|
| Config |
Name
The name of the config.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Path
The path of the config file on disk.
Declaration
public string Path { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Implements
System.ComponentModel.INotifyPropertyChanged