forked from herfulnerful/DreamWorld
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEmailValidation.xml
80 lines (80 loc) · 3.85 KB
/
EmailValidation.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0"?>
<doc>
<assembly>
<name>EmailValidation</name>
</assembly>
<members>
<member name="T:EmailValidation.EmailAttribute">
<summary>
An attribute that validates an the syntax of an email address.
</summary>
<remarks>
An attribute that validates an the syntax of an email address.
</remarks>
</member>
<member name="M:EmailValidation.EmailAttribute.#ctor(System.Boolean,System.Boolean)">
<summary>
Intantiates a new instance of <see cref="T:EmailValidation.EmailAttribute"/>.
</summary>
<remarks>
Creates a new <see cref="T:EmailValidation.EmailAttribute"/>.
</remarks>
<param name="allowTopLevelDomains"><c>true</c> if the validator should allow addresses at top-level domains; otherwise, <c>false</c>.</param>
<param name="allowInternational"><c>true</c> if the validator should allow international characters; otherwise, <c>false</c>.</param>
</member>
<member name="P:EmailValidation.EmailAttribute.AllowTopLevelDomains">
<summary>
Get or set whether or not the validator should allow top-level domains.
</summary>
<remarks>
Gets or sets whether or not the validator should allow top-level domains.
</remarks>
</member>
<member name="P:EmailValidation.EmailAttribute.AllowInternational">
<summary>
Get or set whether or not the validator should allow international characters.
</summary>
<remarks>
Gets or sets whether or not the validator should allow international characters.
</remarks>
</member>
<member name="M:EmailValidation.EmailAttribute.IsValid(System.Object,System.ComponentModel.DataAnnotations.ValidationContext)">
<summary>
Validates the value.
</summary>
<remarks>
Checks whether or not the email address provided is syntactically correct.
</remarks>
<param name="value">The value to validate.</param>
<param name="validationContext">The validation context.</param>
<returns>THe validation result.</returns>
</member>
<member name="T:EmailValidation.EmailValidator">
<summary>
An Email validator.
</summary>
<remarks>
An Email validator.
</remarks>
</member>
<member name="M:EmailValidation.EmailValidator.Validate(System.String,System.Boolean,System.Boolean)">
<summary>
Validate the specified email address.
</summary>
<remarks>
<para>Validates the syntax of an email address.</para>
<para>If <paramref name="allowTopLevelDomains"/> is <c>true</c>, then the validator will
allow addresses with top-level domains like <c>postmaster@dk</c>.</para>
<para>If <paramref name="allowInternational"/> is <c>true</c>, then the validator
will use the newer International Email standards for validating the email address.</para>
</remarks>
<returns><c>true</c> if the email address is valid; otherwise, <c>false</c>.</returns>
<param name="email">An email address.</param>
<param name="allowTopLevelDomains"><c>true</c> if the validator should allow addresses at top-level domains; otherwise, <c>false</c>.</param>
<param name="allowInternational"><c>true</c> if the validator should allow international characters; otherwise, <c>false</c>.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="email"/> is <c>null</c>.
</exception>
</member>
</members>
</doc>