Interface IModelStateTestBuilder
Used for testing ModelStateDictionary errors.
Inherited Members
Namespace:MyTested.AspNetCore.Mvc.Builders.Contracts.Models
Assembly:MyTested.AspNetCore.Mvc.ModelState.dll
Syntax
public interface IModelStateTestBuilder : IModelErrorTestBuilder, IBaseTestBuilderWithModelError
Methods
| Improve this Doc View SourceFor<TModel>()
Specifies the model which will be tested for ModelStateDictionary errors.
Declaration
IModelErrorTestBuilder<TModel> For<TModel>()
Returns
Type | Description |
---|---|
IModelErrorTestBuilder<TModel> | Test builder of IModelErrorTestBuilder<TModel>. |
Type Parameters
Name | Description |
---|---|
TModel | Model from invoked action in ASP.NET Core MVC controller. |