Share via


FormValueMappingContext.MapErrorToContainer Property

Definition

Maps a set of errors to a concrete containing instance.

public Action<string,object>? MapErrorToContainer { get; set; }
member this.MapErrorToContainer : Action<string, obj> with get, set
Public Property MapErrorToContainer As Action(Of String, Object)

Property Value

Remarks

For example, maps errors for a given property in a class to the class instance. This is required so that validation can work without the need of the full identifier.

Applies to