long candy ready to test
This commit is contained in:
@@ -14,13 +14,16 @@ public class UIConfiguration: ISettings
|
||||
|
||||
public string AdminPassword { get; set; } = "";
|
||||
|
||||
public bool ProtectSettingsWithPassword { get; set; }=false;
|
||||
|
||||
public List<ErrorShortName> ErrorShortNames { get; set; } = new List<ErrorShortName>();
|
||||
|
||||
public void RegisterSettings(InspectronSettings settings)
|
||||
{
|
||||
settings.RegisterSimple(this, () => this.MaxErrorCount, "Errors", "Max errors count", "UI");
|
||||
settings.RegisterSimple(this, () => this.AdminPassword, "System", "Password", "UI");
|
||||
settings.RegisterSimple(this, () => this.ErrorShortNames, "Errors", "Error short names", "UI");
|
||||
settings.RegisterSimple(this, () => this.MaxErrorCount, "Errors", "Max errors count");
|
||||
settings.RegisterSimple(this, () => this.AdminPassword, "System", "Password");
|
||||
settings.RegisterSimple(this, () => this.ProtectSettingsWithPassword, "System", nameof(ProtectSettingsWithPassword));
|
||||
settings.RegisterSimple(this, () => this.ErrorShortNames, "Errors", "Error short names");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user