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

Class ComponentBuilderRoutingExtensions

Contains HTTP extension methods for IBaseTestBuilderWithComponentBuilder<TBuilder>.

Inheritance
System.Object
ComponentBuilderRoutingExtensions
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.Routing.dll
Syntax
public static class ComponentBuilderRoutingExtensions

Methods

| Improve this Doc View Source

WithRouteData<TBuilder>(IBaseTestBuilderWithComponentBuilder<TBuilder>)

Indicates that route values should be extracted from the provided method call expression.

Declaration
public static TBuilder WithRouteData<TBuilder>(this IBaseTestBuilderWithComponentBuilder<TBuilder> builder)where TBuilder : IBaseTestBuilder
Parameters
Type Name Description
IBaseTestBuilderWithComponentBuilder<TBuilder> builder

Instance of IBaseTestBuilderWithComponentBuilder<TBuilder> type.

Returns
Type Description
TBuilder

The same component builder.

Type Parameters
Name Description
TBuilder Class representing ASP.NET Core MVC test builder.
| Improve this Doc View Source

WithRouteData<TBuilder>(IBaseTestBuilderWithComponentBuilder<TBuilder>, Object)

Indicates that route values should be extracted from the provided action call expression adding the given additional values.

Declaration
public static TBuilder WithRouteData<TBuilder>(this IBaseTestBuilderWithComponentBuilder<TBuilder> builder, object additionalRouteValues)where TBuilder : IBaseTestBuilder
Parameters
Type Name Description
IBaseTestBuilderWithComponentBuilder<TBuilder> builder

Instance of IBaseTestBuilderWithComponentBuilder<TBuilder> type.

System.Object additionalRouteValues

Anonymous object containing route values.

Returns
Type Description
TBuilder

The same component builder.

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