Show / Hide Table of Contents

Class AllowedValuesModel

The model for setting allowed values

Inheritance
System.Object
AllowedValuesModel
Namespace: Phoenix.Settings
Assembly: Phoenix.Abstractions.Settings.dll
Syntax
public class AllowedValuesModel : BindableBase

Constructors

View Source

AllowedValuesModel()

Initializes a new instance of the AllowedValuesModel class.

Declaration
public AllowedValuesModel()
View Source

AllowedValuesModel(IEnumerable, Object, Object)

Initializes a new instance of the AllowedValuesModel class.

Declaration
public AllowedValuesModel(IEnumerable values = null, object minimum = null, object maximum = null)
Parameters
Type Name Description
System.Collections.IEnumerable values

The allowed value options

System.Object minimum

The minimum value

System.Object maximum

The maximum value

Properties

View Source

HasValues

Gets a value indicating whether or not there are values for the property.

Declaration
public bool HasValues { get; }
Property Value
Type Description
System.Boolean
View Source

Maximum

Gets or sets the maximum value for the property.

Declaration
public object Maximum { get; set; }
Property Value
Type Description
System.Object
View Source

Minimum

Gets or sets the minimum value for the property.

Declaration
public object Minimum { get; set; }
Property Value
Type Description
System.Object
View Source

Values

Gets or sets the values that are allowed for the property.

Declaration
public IEnumerable Values { get; set; }
Property Value
Type Description
System.Collections.IEnumerable
  • View Source
In This Article
Back to top Generated by DocFX