MY TESTED ASP.NET CORE MVC DOCS
Show / Hide Table of Contents

Interface IModelStateTestBuilder

Used for testing ModelStateDictionary errors.

Inherited Members
IModelErrorTestBuilder.ContainingError(String)
IModelErrorTestBuilder.ContainingNoError(String)
IBaseTestBuilderWithModelError.ContainingNoErrors()
Namespace:MyTested.AspNetCore.Mvc.Builders.Contracts.Models
Assembly:MyTested.AspNetCore.Mvc.ModelState.dll
Syntax
public interface IModelStateTestBuilder : IModelErrorTestBuilder, IBaseTestBuilderWithModelError

Methods

| Improve this Doc View Source

For<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.
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2016 MyTestedASP.NET. All Rights Reserved. Generated by DocFX