Class DynamicStringLengthAttribute
Used to determine
Inheritance
System.Object
DynamicStringLengthAttribute
Namespace: Volo.Abp.Validation
Assembly: Volo.Abp.Core.dll
Syntax
public class DynamicStringLengthAttribute : StringLengthAttribute
Constructors
DynamicStringLengthAttribute(Type, String, String)
Declaration
public DynamicStringLengthAttribute(Type sourceType, string maximumLengthPropertyName, string minimumLengthPropertyName = null)
Parameters
Type | Name | Description |
---|---|---|
Type | sourceType | A type to get the values of the properties |
System.String | maximumLengthPropertyName | The name of the public static property for the |
System.String | minimumLengthPropertyName | The name of the public static property for the |