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

Class ControllerBuilderDataAnnotationsExtensions

Contains ModelStateDictionary extension methods for IControllerBuilder<TController>.

Inheritance
System.Object
ControllerBuilderDataAnnotationsExtensions
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.DataAnnotations.dll
Syntax
public static class ControllerBuilderDataAnnotationsExtensions

Methods

| Improve this Doc View Source

WithoutValidation<TController>(IControllerBuilder<TController>)

Disables ModelStateDictionary validation for the action call.

Declaration
public static IAndControllerBuilder<TController> WithoutValidation<TController>(this IControllerBuilder<TController> controllerBuilder)where TController : class
Parameters
Type Name Description
IControllerBuilder<TController> controllerBuilder

Instance of IControllerBuilder<TController> type.

Returns
Type Description
MyTested.AspNetCore.Mvc.Builders.Contracts.Controllers.IAndControllerBuilder<TController>

The same IControllerBuilder<TController>.

Type Parameters
Name Description
TController Class representing ASP.NET Core MVC controller.
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2016 MyTestedASP.NET. All Rights Reserved. Generated by DocFX