-
Notifications
You must be signed in to change notification settings - Fork 112
/
IClientModelValidator.xml
80 lines (80 loc) · 5.04 KB
/
IClientModelValidator.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
<Type Name="IClientModelValidator" FullName="Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator">
<TypeSignature Language="C++ CLI" Value="public interface class IClientModelValidator" />
<TypeSignature Language="C#" Value="public interface IClientModelValidator" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IClientModelValidator" FrameworkAlternate="aspnetcore-1.0;aspnetcore-1.1;aspnetcore-2.0;aspnetcore-2.1;aspnetcore-2.2;aspnetcore-3.0;aspnetcore-3.1;aspnetcore-5.0;aspnetcore-6.0;aspnetcore-7.0" />
<TypeSignature Language="DocId" Value="T:Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator" />
<TypeSignature Language="VB.NET" Value="Public Interface IClientModelValidator" />
<TypeSignature Language="F#" Value="type IClientModelValidator = interface" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IClientModelValidator" FrameworkAlternate="aspnetcore-8.0;aspnetcore-9.0" />
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Mvc.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="aspnetcore-8.0;aspnetcore-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
Specifies the contract for performing validation in the browser.
<para>
MVC's validation system invokes <see cref="T:Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator" /> to gather attributes that apply to the
rendered HTML. The rendered view may have to reference JavaScript libraries, such as jQuery Unobtrusive Validation,
to provide client validation based on the presence of these attributes.
</para></summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="AddValidation">
<MemberSignature Language="C++ CLI" Value="public:
 void AddValidation(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ClientModelValidationContext ^ context);" />
<MemberSignature Language="C#" Value="public void AddValidation (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void AddValidation(class Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IClientModelValidator.AddValidation(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext)" />
<MemberSignature Language="VB.NET" Value="Public Sub AddValidation (context As ClientModelValidationContext)" />
<MemberSignature Language="F#" Value="abstract member AddValidation : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext -> unit" Usage="iClientModelValidator.AddValidation context" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Mvc.Abstractions</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.1.0.0</AssemblyVersion>
<AssemblyVersion>2.2.0.0</AssemblyVersion>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>3.1.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="context" Type="Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext" />
</Parameters>
<Docs>
<param name="context">The <see cref="T:Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext" />.</param>
<summary>
Called to add client-side model validation.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>