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

Class MyApplication

Provides methods to set up the ASP.NET Core MVC test application.

Inheritance
System.Object
MyTested.AspNetCore.Mvc.Builders.Application.ApplicationConfigurationBuilder
MyApplication
Namespace:MyTested.AspNetCore.Mvc
Assembly:MyTested.AspNetCore.Mvc.Abstractions.dll
Syntax
public class MyApplication : ApplicationConfigurationBuilder, IApplicationConfigurationBuilder

Constructors

| Improve this Doc View Source

MyApplication()

Initializes a new instance of the MyApplication class.

Declaration
public MyApplication()
| Improve this Doc View Source

MyApplication(Type)

Initializes a new instance of the MyApplication class.

Declaration
public MyApplication(Type startupType)
Parameters
Type Name Description
System.Type startupType

Startup class to bootstrap the test application from.

Methods

| Improve this Doc View Source

StartsFrom<TStartup>()

Specifies the Startup class from which the test application is bootstrapped.

Declaration
public static IApplicationConfigurationBuilder StartsFrom<TStartup>()where TStartup : class
Returns
Type Description
IApplicationConfigurationBuilder

Builder of IApplicationConfigurationBuilder type.

Type Parameters
Name Description
TStartup Startup class to bootstrap the test application from.
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2016 MyTestedASP.NET. All Rights Reserved. Generated by DocFX