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

Class ComponentBuilderOptionsExtensions

Contains configuration options extension methods for IBaseTestBuilderWithComponentBuilder<TBuilder>.

Inheritance
System.Object
ComponentBuilderOptionsExtensions
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.Options.dll
Syntax
public static class ComponentBuilderOptionsExtensions

Methods

| Improve this Doc View Source

WithOptions<TBuilder>(IBaseTestBuilderWithComponentBuilder<TBuilder>, Action<IOptionsBuilder>)

Sets initial values to the configuration options on the tested component.

Declaration
public static TBuilder WithOptions<TBuilder>(this IBaseTestBuilderWithComponentBuilder<TBuilder> builder, Action<IOptionsBuilder> optionsBuilder)where TBuilder : IBaseTestBuilder
Parameters
Type Name Description
IBaseTestBuilderWithComponentBuilder<TBuilder> builder

Instance of IBaseTestBuilderWithComponentBuilder<TBuilder> type.

System.Action<IOptionsBuilder> optionsBuilder

Action setting the configuration options by using IOptionsBuilder.

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