Share via


FormMappingContext.GetAllErrors Method

Definition

Overloads

GetAllErrors()

Retrieves all the errors for the model.

GetAllErrors(String)

Retrieves all the errors for the model.

GetAllErrors()

Source:
FormMappingContext.cs
Source:
FormMappingContext.cs

Retrieves all the errors for the model.

public System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Components.Forms.Mapping.FormMappingError> GetAllErrors ();
member this.GetAllErrors : unit -> seq<Microsoft.AspNetCore.Components.Forms.Mapping.FormMappingError>
Public Function GetAllErrors () As IEnumerable(Of FormMappingError)

Returns

The list of errors associated with the model if any.

Applies to

GetAllErrors(String)

Source:
FormMappingContext.cs
Source:
FormMappingContext.cs

Retrieves all the errors for the model.

public System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Components.Forms.Mapping.FormMappingError> GetAllErrors (string formName);
member this.GetAllErrors : string -> seq<Microsoft.AspNetCore.Components.Forms.Mapping.FormMappingError>
Public Function GetAllErrors (formName As String) As IEnumerable(Of FormMappingError)

Parameters

formName
String

Form name for a form under this context.

Returns

The list of errors associated with the model if any.

Applies to