FormMappingContext 类

定义

与给定表单映射操作关联的上下文。

public sealed class FormMappingContext
type FormMappingContext = class
Public NotInheritable Class FormMappingContext
继承
FormMappingContext

属性

MappingScopeName

映射范围名称。

方法

GetAllErrors()

检索模型的所有错误。

GetAllErrors(String)

检索模型的所有错误。

GetAttemptedValue(String)

检索无法映射给定模型键的尝试值。

GetAttemptedValue(String, String)

检索无法映射给定模型键的尝试值。

GetErrors(String)

检索给定模型键的错误列表。

GetErrors(String, String)

检索给定模型键的错误列表。

适用于