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

Class ActionAttributesTestBuilderViewFeaturesExtensions

Contains view features extension methods for IActionAttributesTestBuilder.

Inheritance
System.Object
ActionAttributesTestBuilderViewFeaturesExtensions
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.ViewFeatures.dll
Syntax
public static class ActionAttributesTestBuilderViewFeaturesExtensions

Methods

| Improve this Doc View Source

ValidatingAntiForgeryToken(IActionAttributesTestBuilder)

Tests whether the action attributes contain Microsoft.AspNetCore.Mvc.ValidateAntiForgeryTokenAttribute.

Declaration
public static IAndActionAttributesTestBuilder ValidatingAntiForgeryToken(this IActionAttributesTestBuilder actionAttributesTestBuilder)
Parameters
Type Name Description
IActionAttributesTestBuilder actionAttributesTestBuilder

Instance of IActionAttributesTestBuilder type.

Returns
Type Description
MyTested.AspNetCore.Mvc.Builders.Contracts.Attributes.IAndActionAttributesTestBuilder

The same MyTested.AspNetCore.Mvc.Builders.Contracts.Attributes.IAndActionAttributesTestBuilder.

  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2016 MyTestedASP.NET. All Rights Reserved. Generated by DocFX