Class ValidationTestController.ValidationDynamicTestModel
Inheritance
object
ValidationTestController.ValidationDynamicTestModel
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Mvc.Validation
Assembly: Volo.Abp.AspNetCore.Mvc.Tests.dll
Syntax
public class ValidationTestController.ValidationDynamicTestModel
Constructors
ValidationDynamicTestModel()
Declaration
public ValidationDynamicTestModel()
Properties
Value1
Declaration
[DynamicStringLength(typeof(ValidationTestController.ValidationDynamicTestModel.Consts), "MaxValue1Length", "MinValue1Length")]
public string Value1 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value2
Declaration
[DynamicMaxLength(typeof(ValidationTestController.ValidationDynamicTestModel.Consts), "MaxValue2Length")]
public string Value2 { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value3
Declaration
[DynamicMaxLength(typeof(ValidationTestController.ValidationDynamicTestModel.Consts), "MaxValue3Length")]
public int[] Value3 { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
Value4
Declaration
[DynamicRange(typeof(ValidationTestController.ValidationDynamicTestModel.Consts), typeof(int), "MinValue1", "MaxValue1")]
public int Value4 { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Value5
Declaration
[DynamicRange(typeof(ValidationTestController.ValidationDynamicTestModel.Consts), typeof(double), "MinValue2", "MaxValue2")]
public double Value5 { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Value6
Declaration
[DynamicRange(typeof(ValidationTestController.ValidationDynamicTestModel.Consts), typeof(DateTime), "MinValue3", "MaxValue3")]
public DateTime Value6 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |