FormValueMappingContext.MapErrorToContainer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.