Added Viewer and
change to App Setting File from Constants
This commit is contained in:
@ -1,12 +0,0 @@
|
||||
namespace OI.Metrology.Shared.Models;
|
||||
|
||||
public class SelectListGroup
|
||||
{
|
||||
|
||||
public bool Disabled { get; set; }
|
||||
public string? Name { get; set; }
|
||||
|
||||
public SelectListGroup()
|
||||
{ }
|
||||
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
namespace OI.Metrology.Shared.Models;
|
||||
|
||||
public class SelectListItem
|
||||
{
|
||||
|
||||
public bool Disabled { get; set; }
|
||||
public SelectListGroup? Group { get; set; }
|
||||
public bool Selected { get; set; }
|
||||
public string? Text { get; set; }
|
||||
public string? Value { get; set; }
|
||||
|
||||
public SelectListItem()
|
||||
{ }
|
||||
|
||||
public SelectListItem(string text, string value)
|
||||
{
|
||||
Text = text;
|
||||
Value = value;
|
||||
}
|
||||
|
||||
public SelectListItem(string text, string value, bool selected)
|
||||
{
|
||||
Text = text;
|
||||
Value = value;
|
||||
Selected = selected;
|
||||
}
|
||||
|
||||
public SelectListItem(string text, string value, bool selected, bool disabled)
|
||||
{
|
||||
Text = text;
|
||||
Value = value;
|
||||
Selected = selected;
|
||||
Disabled = disabled;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user