Show / Hide Table of Contents

Class DynamicStringLengthAttribute

Used to determine and properties on the runtime.

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

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft