ValidationVisitor.StateManager(ValidationVisitor, Object) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
StateManager(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationVisitor ^ visitor, System::Object ^ newModel);
public StateManager (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor visitor, object newModel);
public StateManager (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor visitor, object? newModel);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.StateManager : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor * obj -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.StateManager
Public Sub New (visitor As ValidationVisitor, newModel As Object)
参数
- visitor
- ValidationVisitor
访问者。
- newModel
- Object
要验证的模型。