1 <?xml version="1.0"?>
\r
4 <name>Microsoft.AspNetCore.Components.Forms</name>
\r
7 <member name="T:Microsoft.AspNetCore.Components.Forms.DataAnnotationsValidator">
\r
9 Adds Data Annotations validation support to an <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/>.
\r
12 <member name="M:Microsoft.AspNetCore.Components.Forms.DataAnnotationsValidator.OnInitialized">
\r
15 <member name="T:Microsoft.AspNetCore.Components.Forms.EditContext">
\r
17 Holds metadata related to a data editing process, such as flags to indicate which
\r
18 fields have been modified and the current set of validation messages.
\r
21 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContext.#ctor(System.Object)">
\r
23 Constructs an instance of <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/>.
\r
25 <param name="model">The model object for the <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/>. This object should hold the data being edited, for example as a set of properties.</param>
\r
27 <member name="E:Microsoft.AspNetCore.Components.Forms.EditContext.OnFieldChanged">
\r
29 An event that is raised when a field value changes.
\r
32 <member name="E:Microsoft.AspNetCore.Components.Forms.EditContext.OnValidationRequested">
\r
34 An event that is raised when validation is requested.
\r
37 <member name="E:Microsoft.AspNetCore.Components.Forms.EditContext.OnValidationStateChanged">
\r
39 An event that is raised when validation state has changed.
\r
42 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContext.Field(System.String)">
\r
44 Supplies a <see cref="T:Microsoft.AspNetCore.Components.Forms.FieldIdentifier"/> corresponding to a specified field name
\r
45 on this <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/>'s <see cref="P:Microsoft.AspNetCore.Components.Forms.EditContext.Model"/>.
\r
47 <param name="fieldName">The name of the editable field.</param>
\r
48 <returns>A <see cref="T:Microsoft.AspNetCore.Components.Forms.FieldIdentifier"/> corresponding to a specified field name on this <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/>'s <see cref="P:Microsoft.AspNetCore.Components.Forms.EditContext.Model"/>.</returns>
\r
50 <member name="P:Microsoft.AspNetCore.Components.Forms.EditContext.Model">
\r
52 Gets the model object for this <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/>.
\r
55 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContext.NotifyFieldChanged(Microsoft.AspNetCore.Components.Forms.FieldIdentifier@)">
\r
57 Signals that the value for the specified field has changed.
\r
59 <param name="fieldIdentifier">Identifies the field whose value has been changed.</param>
\r
61 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContext.NotifyValidationStateChanged">
\r
63 Signals that some aspect of validation state has changed.
\r
66 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContext.MarkAsUnmodified(Microsoft.AspNetCore.Components.Forms.FieldIdentifier@)">
\r
68 Clears any modification flag that may be tracked for the specified field.
\r
70 <param name="fieldIdentifier">Identifies the field whose modification flag (if any) should be cleared.</param>
\r
72 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContext.MarkAsUnmodified">
\r
74 Clears all modification flags within this <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/>.
\r
77 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContext.IsModified">
\r
79 Determines whether any of the fields in this <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/> have been modified.
\r
81 <returns>True if any of the fields in this <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/> have been modified; otherwise false.</returns>
\r
83 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContext.GetValidationMessages">
\r
85 Gets the current validation messages across all fields.
\r
87 This method does not perform validation itself. It only returns messages determined by previous validation actions.
\r
89 <returns>The current validation messages.</returns>
\r
91 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContext.GetValidationMessages(Microsoft.AspNetCore.Components.Forms.FieldIdentifier)">
\r
93 Gets the current validation messages for the specified field.
\r
95 This method does not perform validation itself. It only returns messages determined by previous validation actions.
\r
97 <param name="fieldIdentifier">Identifies the field whose current validation messages should be returned.</param>
\r
98 <returns>The current validation messages for the specified field.</returns>
\r
100 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContext.GetValidationMessages(System.Linq.Expressions.Expression{System.Func{System.Object}})">
\r
102 Gets the current validation messages for the specified field.
\r
104 This method does not perform validation itself. It only returns messages determined by previous validation actions.
\r
106 <param name="accessor">Identifies the field whose current validation messages should be returned.</param>
\r
107 <returns>The current validation messages for the specified field.</returns>
\r
109 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContext.IsModified(Microsoft.AspNetCore.Components.Forms.FieldIdentifier@)">
\r
111 Determines whether the specified fields in this <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/> has been modified.
\r
113 <returns>True if the field has been modified; otherwise false.</returns>
\r
115 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContext.IsModified(System.Linq.Expressions.Expression{System.Func{System.Object}})">
\r
117 Determines whether the specified fields in this <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/> has been modified.
\r
119 <param name="accessor">Identifies the field whose current validation messages should be returned.</param>
\r
120 <returns>True if the field has been modified; otherwise false.</returns>
\r
122 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContext.Validate">
\r
124 Validates this <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/>.
\r
126 <returns>True if there are no validation messages after validation; otherwise false.</returns>
\r
128 <member name="T:Microsoft.AspNetCore.Components.Forms.EditContextDataAnnotationsExtensions">
\r
130 Extension methods to add DataAnnotations validation to an <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/>.
\r
133 <member name="M:Microsoft.AspNetCore.Components.Forms.EditContextDataAnnotationsExtensions.AddDataAnnotationsValidation(Microsoft.AspNetCore.Components.Forms.EditContext)">
\r
135 Adds DataAnnotations validation support to the <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/>.
\r
137 <param name="editContext">The <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/>.</param>
\r
139 <member name="T:Microsoft.AspNetCore.Components.Forms.FieldChangedEventArgs">
\r
141 Provides information about the <see cref="E:Microsoft.AspNetCore.Components.Forms.EditContext.OnFieldChanged"/> event.
\r
144 <member name="M:Microsoft.AspNetCore.Components.Forms.FieldChangedEventArgs.#ctor(Microsoft.AspNetCore.Components.Forms.FieldIdentifier@)">
\r
146 Creates a new instance of <see cref="T:Microsoft.AspNetCore.Components.Forms.FieldChangedEventArgs"/>.
\r
148 <param name="fieldIdentifier">The <see cref="T:Microsoft.AspNetCore.Components.Forms.FieldIdentifier"/></param>
\r
150 <member name="P:Microsoft.AspNetCore.Components.Forms.FieldChangedEventArgs.FieldIdentifier">
\r
152 Identifies the field whose value has changed.
\r
155 <member name="T:Microsoft.AspNetCore.Components.Forms.FieldIdentifier">
\r
157 Uniquely identifies a single field that can be edited. This may correspond to a property on a
\r
158 model object, or can be any other named value.
\r
161 <member name="M:Microsoft.AspNetCore.Components.Forms.FieldIdentifier.Create``1(System.Linq.Expressions.Expression{System.Func{``0}})">
\r
163 Initializes a new instance of the <see cref="T:Microsoft.AspNetCore.Components.Forms.FieldIdentifier"/> structure.
\r
165 <param name="accessor">An expression that identifies an object member.</param>
\r
166 <typeparam name="TField">The field <see cref="T:System.Type"/>.</typeparam>
\r
168 <member name="M:Microsoft.AspNetCore.Components.Forms.FieldIdentifier.#ctor(System.Object,System.String)">
\r
170 Initializes a new instance of the <see cref="T:Microsoft.AspNetCore.Components.Forms.FieldIdentifier"/> structure.
\r
172 <param name="model">The object that owns the field.</param>
\r
173 <param name="fieldName">The name of the editable field.</param>
\r
175 <member name="P:Microsoft.AspNetCore.Components.Forms.FieldIdentifier.Model">
\r
177 Gets the object that owns the editable field.
\r
180 <member name="P:Microsoft.AspNetCore.Components.Forms.FieldIdentifier.FieldName">
\r
182 Gets the name of the editable field.
\r
185 <member name="M:Microsoft.AspNetCore.Components.Forms.FieldIdentifier.GetHashCode">
\r
188 <member name="M:Microsoft.AspNetCore.Components.Forms.FieldIdentifier.Equals(System.Object)">
\r
191 <member name="M:Microsoft.AspNetCore.Components.Forms.FieldIdentifier.Equals(Microsoft.AspNetCore.Components.Forms.FieldIdentifier)">
\r
194 <member name="T:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore">
\r
196 Holds validation messages for an <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/>.
\r
199 <member name="M:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore.#ctor(Microsoft.AspNetCore.Components.Forms.EditContext)">
\r
201 Creates an instance of <see cref="T:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore"/>.
\r
203 <param name="editContext">The <see cref="T:Microsoft.AspNetCore.Components.Forms.EditContext"/> with which this store should be associated.</param>
\r
205 <member name="M:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore.Add(Microsoft.AspNetCore.Components.Forms.FieldIdentifier@,System.String)">
\r
207 Adds a validation message for the specified field.
\r
209 <param name="fieldIdentifier">The identifier for the field.</param>
\r
210 <param name="message">The validation message.</param>
\r
212 <member name="M:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore.Add(System.Linq.Expressions.Expression{System.Func{System.Object}},System.String)">
\r
214 Adds a validation message for the specified field.
\r
216 <param name="accessor">Identifies the field for which to add the message.</param>
\r
217 <param name="message">The validation message.</param>
\r
219 <member name="M:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore.Add(Microsoft.AspNetCore.Components.Forms.FieldIdentifier@,System.Collections.Generic.IEnumerable{System.String})">
\r
221 Adds the messages from the specified collection for the specified field.
\r
223 <param name="fieldIdentifier">The identifier for the field.</param>
\r
224 <param name="messages">The validation messages to be added.</param>
\r
226 <member name="M:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore.Add(System.Linq.Expressions.Expression{System.Func{System.Object}},System.Collections.Generic.IEnumerable{System.String})">
\r
228 Adds the messages from the specified collection for the specified field.
\r
230 <param name="accessor">Identifies the field for which to add the messages.</param>
\r
231 <param name="messages">The validation messages to be added.</param>
\r
233 <member name="P:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore.Item(Microsoft.AspNetCore.Components.Forms.FieldIdentifier)">
\r
235 Gets the validation messages within this <see cref="T:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore"/> for the specified field.
\r
237 To get the validation messages across all validation message stores, use <see cref="M:Microsoft.AspNetCore.Components.Forms.EditContext.GetValidationMessages(Microsoft.AspNetCore.Components.Forms.FieldIdentifier)"/> instead
\r
239 <param name="fieldIdentifier">The identifier for the field.</param>
\r
240 <returns>The validation messages for the specified field within this <see cref="T:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore"/>.</returns>
\r
242 <member name="P:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore.Item(System.Linq.Expressions.Expression{System.Func{System.Object}})">
\r
244 Gets the validation messages within this <see cref="T:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore"/> for the specified field.
\r
246 To get the validation messages across all validation message stores, use <see cref="M:Microsoft.AspNetCore.Components.Forms.EditContext.GetValidationMessages(Microsoft.AspNetCore.Components.Forms.FieldIdentifier)"/> instead
\r
248 <param name="accessor">The identifier for the field.</param>
\r
249 <returns>The validation messages for the specified field within this <see cref="T:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore"/>.</returns>
\r
251 <member name="M:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore.Clear">
\r
253 Removes all messages within this <see cref="T:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore"/>.
\r
256 <member name="M:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore.Clear(System.Linq.Expressions.Expression{System.Func{System.Object}})">
\r
258 Removes all messages within this <see cref="T:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore"/> for the specified field.
\r
260 <param name="accessor">Identifies the field for which to remove the messages.</param>
\r
262 <member name="M:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore.Clear(Microsoft.AspNetCore.Components.Forms.FieldIdentifier@)">
\r
264 Removes all messages within this <see cref="T:Microsoft.AspNetCore.Components.Forms.ValidationMessageStore"/> for the specified field.
\r
266 <param name="fieldIdentifier">The identifier for the field.</param>
\r
268 <member name="T:Microsoft.AspNetCore.Components.Forms.ValidationRequestedEventArgs">
\r
270 Provides information about the <see cref="E:Microsoft.AspNetCore.Components.Forms.EditContext.OnValidationRequested"/> event.
\r
273 <member name="F:Microsoft.AspNetCore.Components.Forms.ValidationRequestedEventArgs.Empty">
\r
275 Gets a shared empty instance of <see cref="T:Microsoft.AspNetCore.Components.Forms.ValidationRequestedEventArgs"/>.
\r
278 <member name="M:Microsoft.AspNetCore.Components.Forms.ValidationRequestedEventArgs.#ctor">
\r
280 Creates a new instance of <see cref="T:Microsoft.AspNetCore.Components.Forms.ValidationRequestedEventArgs"/>.
\r
283 <member name="T:Microsoft.AspNetCore.Components.Forms.ValidationStateChangedEventArgs">
\r
285 Provides information about the <see cref="E:Microsoft.AspNetCore.Components.Forms.EditContext.OnValidationStateChanged"/> event.
\r
288 <member name="F:Microsoft.AspNetCore.Components.Forms.ValidationStateChangedEventArgs.Empty">
\r
290 Gets a shared empty instance of <see cref="T:Microsoft.AspNetCore.Components.Forms.ValidationStateChangedEventArgs"/>.
\r
293 <member name="M:Microsoft.AspNetCore.Components.Forms.ValidationStateChangedEventArgs.#ctor">
\r
295 Creates a new instance of <see cref="T:Microsoft.AspNetCore.Components.Forms.ValidationStateChangedEventArgs" />
\r