Skip to content

Latest commit

 

History

History
188 lines (154 loc) · 2.69 KB

System.ComponentModel.DataAnnotations.md

File metadata and controls

188 lines (154 loc) · 2.69 KB

System.ComponentModel.DataAnnotations


IPAddressAttribute

public class IPAddressAttribute : ValidationAttribute

Static Methods

TryIsValid

bool TryIsValid(string value, out string errorMessage)

TryIsValid

bool TryIsValid(string value, IPAddressAttribute attribute, out string errorMessage)

Properties

Required

Required

Methods

IsValid

bool IsValid(object value)

IsoCurrencySymbolAttribute

public class IsoCurrencySymbolAttribute : ValidationAttribute

Properties

IsoCurrencySymbols

IsoCurrencySymbols

Required

Required

Methods

IsValid

bool IsValid(object value)

KeyStringAttribute

public class KeyStringAttribute : StringAttribute

Static Methods

TryIsValid

bool TryIsValid(string value, out string errorMessage)

TryIsValid

bool TryIsValid(string value, KeyStringAttribute attribute, out string errorMessage)

StringAttribute

public class StringAttribute : ValidationAttribute

Static Methods

TryIsValid

bool TryIsValid(string value, out string errorMessage)

TryIsValid

bool TryIsValid(string value, StringAttribute attribute, out string errorMessage)

Properties

InvalidCharacters

InvalidCharacters

InvalidPrefixStrings

InvalidPrefixStrings

MaxLength

MaxLength

MinLength

MinLength

RegularExpression

RegularExpression

Required

Required

Methods

IsValid

bool IsValid(object value)

UriAttribute

public class UriAttribute : ValidationAttribute

Static Methods

TryIsValid

bool TryIsValid(string value, out string errorMessage)

TryIsValid

bool TryIsValid(string value, UriAttribute attribute, out string errorMessage)

Properties

AllowFile

AllowFile

AllowFtp

AllowFtp

AllowFtps

AllowFtps

AllowHttp

AllowHttp

AllowHttps

AllowHttps

AllowOpcTcp

AllowOpcTcp

Required

Required

Methods

IsValid

bool IsValid(object value)

Generated by MarkdownCodeDoc version 1.2