-
Notifications
You must be signed in to change notification settings - Fork 112
/
BindPropertyAttribute.xml
267 lines (267 loc) · 17.7 KB
/
BindPropertyAttribute.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
<Type Name="BindPropertyAttribute" FullName="Microsoft.AspNetCore.Mvc.BindPropertyAttribute">
<TypeSignature Language="C++ CLI" Value="public ref class BindPropertyAttribute : Attribute, Microsoft::AspNetCore::Mvc::ModelBinding::IBinderTypeProviderMetadata, Microsoft::AspNetCore::Mvc::ModelBinding::IModelNameProvider, Microsoft::AspNetCore::Mvc::ModelBinding::IRequestPredicateProvider" />
<TypeSignature Language="C#" Value="public class BindPropertyAttribute : Attribute, Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit BindPropertyAttribute extends System.Attribute implements class Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata, class Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata, class Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider, class Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider" />
<TypeSignature Language="DocId" Value="T:Microsoft.AspNetCore.Mvc.BindPropertyAttribute" />
<TypeSignature Language="VB.NET" Value="Public Class BindPropertyAttribute
Inherits Attribute
Implements IBinderTypeProviderMetadata, IModelNameProvider, IRequestPredicateProvider" />
<TypeSignature Language="F#" Value="type BindPropertyAttribute = class
 inherit Attribute
 interface IModelNameProvider
 interface IBinderTypeProviderMetadata
 interface IBindingSourceMetadata
 interface IRequestPredicateProvider" FrameworkAlternate="aspnetcore-2.0;aspnetcore-2.1;aspnetcore-2.2;aspnetcore-5.0;aspnetcore-6.0;aspnetcore-7.0;aspnetcore-8.0;aspnetcore-9.0" />
<TypeSignature Language="F#" Value="type BindPropertyAttribute = class
 inherit Attribute
 interface IBinderTypeProviderMetadata
 interface IBindingSourceMetadata
 interface IModelNameProvider
 interface IRequestPredicateProvider" FrameworkAlternate="aspnetcore-3.0;aspnetcore-3.1" />
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Mvc.Core</AssemblyName>
<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>
<Base>
<BaseTypeName>System.Attribute</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Microsoft.AspNetCore.Mvc.ModelBinding.IModelNameProvider</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]</AttributeName>
<AttributeName Language="F#">[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="aspnetcore-8.0;aspnetcore-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="aspnetcore-8.0;aspnetcore-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(2)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>
An attribute that can specify a model name or type of <see cref="T:Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" /> to use for binding the
associated property.
</summary>
<remarks>
Similar to <see cref="T:Microsoft.AspNetCore.Mvc.ModelBinderAttribute" />. Unlike that attribute, <see cref="T:Microsoft.AspNetCore.Mvc.BindPropertyAttribute" />
applies only to properties and adds an <see cref="T:Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider" /> implementation that by default
indicates the property should not be bound for HTTP GET requests (see also <see cref="P:Microsoft.AspNetCore.Mvc.BindPropertyAttribute.SupportsGet" />).
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C++ CLI" Value="public:
 BindPropertyAttribute();" />
<MemberSignature Language="C#" Value="public BindPropertyAttribute ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.AspNetCore.Mvc.BindPropertyAttribute.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Mvc.Core</AssemblyName>
<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>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="BinderType">
<MemberSignature Language="C++ CLI" Value="public:
 property Type ^ BinderType { Type ^ get(); void set(Type ^ value); };" />
<MemberSignature Language="C#" Value="public Type BinderType { get; set; }" FrameworkAlternate="aspnetcore-2.0;aspnetcore-2.1;aspnetcore-2.2;aspnetcore-3.0;aspnetcore-3.1;aspnetcore-5.0" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Type BinderType" />
<MemberSignature Language="DocId" Value="P:Microsoft.AspNetCore.Mvc.BindPropertyAttribute.BinderType" />
<MemberSignature Language="VB.NET" Value="Public Property BinderType As Type" />
<MemberSignature Language="F#" Value="member this.BinderType : Type with get, set" Usage="Microsoft.AspNetCore.Mvc.BindPropertyAttribute.BinderType" />
<MemberSignature Language="C#" Value="public Type? BinderType { get; set; }" FrameworkAlternate="aspnetcore-6.0;aspnetcore-7.0;aspnetcore-8.0;aspnetcore-9.0" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Mvc.Core</AssemblyName>
<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.Type</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
Subclass this attribute and set <see cref="P:Microsoft.AspNetCore.Mvc.BindPropertyAttribute.BindingSource" /> if <see cref="F:Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource.Custom" /> is not
correct for the specified (non-<see langword="null" />) <see cref="T:Microsoft.AspNetCore.Mvc.ModelBinding.IModelBinder" /> implementation.
</remarks>
<inheritdoc />
</Docs>
</Member>
<Member MemberName="BindingSource">
<MemberSignature Language="C++ CLI" Value="public: virtual property Microsoft::AspNetCore::Mvc::ModelBinding::BindingSource ^ BindingSource { public:
Microsoft::AspNetCore::Mvc::ModelBinding::BindingSource ^ get(); protected:
 void set(Microsoft::AspNetCore::Mvc::ModelBinding::BindingSource ^ value); };" />
<MemberSignature Language="C#" Value="public virtual Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get; protected set; }" FrameworkAlternate="aspnetcore-2.0;aspnetcore-2.1;aspnetcore-2.2;aspnetcore-3.0;aspnetcore-3.1;aspnetcore-5.0" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource" />
<MemberSignature Language="DocId" Value="P:Microsoft.AspNetCore.Mvc.BindPropertyAttribute.BindingSource" />
<MemberSignature Language="VB.NET" Value="Public Overridable Property BindingSource As BindingSource" />
<MemberSignature Language="F#" Value="member this.BindingSource : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource with get, set" Usage="Microsoft.AspNetCore.Mvc.BindPropertyAttribute.BindingSource" />
<MemberSignature Language="C#" Value="public virtual Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource? BindingSource { get; protected set; }" FrameworkAlternate="aspnetcore-6.0;aspnetcore-7.0;aspnetcore-8.0;aspnetcore-9.0" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Mvc.Core</AssemblyName>
<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>Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>
If <see cref="P:Microsoft.AspNetCore.Mvc.BindPropertyAttribute.BinderType" /> is <see langword="null" />, defaults to <see langword="null" />. Otherwise,
defaults to <see cref="F:Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource.Custom" />. May be overridden in a subclass.
</value>
<remarks>To be added.</remarks>
<inheritdoc />
</Docs>
</Member>
<Member MemberName="Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider.RequestPredicate">
<MemberSignature Language="C++ CLI" Value="property Func<Microsoft::AspNetCore::Mvc::ActionContext ^, bool> ^ Microsoft::AspNetCore::Mvc::ModelBinding::IRequestPredicateProvider::RequestPredicate { Func<Microsoft::AspNetCore::Mvc::ActionContext ^, bool> ^ get(); };" />
<MemberSignature Language="C#" Value="Func<Microsoft.AspNetCore.Mvc.ActionContext,bool> Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider.RequestPredicate { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Func`2<class Microsoft.AspNetCore.Mvc.ActionContext, bool> Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider.RequestPredicate" />
<MemberSignature Language="DocId" Value="P:Microsoft.AspNetCore.Mvc.BindPropertyAttribute.Microsoft#AspNetCore#Mvc#ModelBinding#IRequestPredicateProvider#RequestPredicate" />
<MemberSignature Language="VB.NET" Value=" ReadOnly Property RequestPredicate As Func(Of ActionContext, Boolean) Implements IRequestPredicateProvider.RequestPredicate" />
<MemberSignature Language="F#" Value="member this.Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider.RequestPredicate : Func<Microsoft.AspNetCore.Mvc.ActionContext, bool>" Usage="Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider.RequestPredicate" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:Microsoft.AspNetCore.Mvc.ModelBinding.IRequestPredicateProvider.RequestPredicate</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Mvc.Core</AssemblyName>
<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>
<Attributes>
<Attribute FrameworkAlternate="aspnetcore-8.0;aspnetcore-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Func<Microsoft.AspNetCore.Mvc.ActionContext,System.Boolean></ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };" />
<MemberSignature Language="C#" Value="public string Name { get; set; }" FrameworkAlternate="aspnetcore-2.0;aspnetcore-2.1;aspnetcore-2.2;aspnetcore-3.0;aspnetcore-3.1;aspnetcore-5.0" />
<MemberSignature Language="ILAsm" Value=".property instance string Name" />
<MemberSignature Language="DocId" Value="P:Microsoft.AspNetCore.Mvc.BindPropertyAttribute.Name" />
<MemberSignature Language="VB.NET" Value="Public Property Name As String" />
<MemberSignature Language="F#" Value="member this.Name : string with get, set" Usage="Microsoft.AspNetCore.Mvc.BindPropertyAttribute.Name" />
<MemberSignature Language="C#" Value="public string? Name { get; set; }" FrameworkAlternate="aspnetcore-6.0;aspnetcore-7.0;aspnetcore-8.0;aspnetcore-9.0" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Mvc.Core</AssemblyName>
<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.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
<inheritdoc />
</Docs>
</Member>
<Member MemberName="SupportsGet">
<MemberSignature Language="C++ CLI" Value="public:
 property bool SupportsGet { bool get(); void set(bool value); };" />
<MemberSignature Language="C#" Value="public bool SupportsGet { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool SupportsGet" />
<MemberSignature Language="DocId" Value="P:Microsoft.AspNetCore.Mvc.BindPropertyAttribute.SupportsGet" />
<MemberSignature Language="VB.NET" Value="Public Property SupportsGet As Boolean" />
<MemberSignature Language="F#" Value="member this.SupportsGet : bool with get, set" Usage="Microsoft.AspNetCore.Mvc.BindPropertyAttribute.SupportsGet" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.AspNetCore.Mvc.Core</AssemblyName>
<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.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>
Gets or sets an indication the associated property should be bound in HTTP GET requests. If
<see langword="true" />, the property should be bound in all requests. Otherwise, the property should not be
bound in HTTP GET requests.
</summary>
<value>Defaults to <see langword="false" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>