ValidationConstants
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects
Constants for validation
public static class ValidationConstants
Inheritance Object → ValidationConstants
Fields
PasswordMaxLength
Maximum length of the password field.
public static int PasswordMaxLength;
EmailMaxLength
Maximum email length for validation See https://stackoverflow.com/questions/386294/what-is-the-maximum-length-of-a-valid-email-address
public static int EmailMaxLength;
UrlMaxLength
Maximum url length for validation. See https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers
public static int UrlMaxLength;
TextDefaultMaxLength
Maximum length for text properties (a default value for properties which have no specific length requirement). This is an arbitrary length that the PO also agreed to that is sufficient for naming objects.
public static int TextDefaultMaxLength;
DescriptionDefaultMaxLength
Maximum length for description/free text fields (a default value for description properties which have no specific length requirement). This is an arbitrary length that the PO also agreed to that is sufficient for describing objects.
public static int DescriptionDefaultMaxLength;