Table of Contents

Interface IAspNetCoreHostFixture

Namespace
Codebelt.Extensions.Xunit.Hosting.AspNetCore
Assembly
Codebelt.Extensions.Xunit.Hosting.AspNetCore.dll

Provides a way to use Microsoft Dependency Injection in unit tests tailored for ASP.NET Core.

public interface IAspNetCoreHostFixture : IHostFixture, IServiceTest, IHostTest, IConfigurationTest, IHostingEnvironmentTest, IDisposable, IAsyncDisposable, IPipelineTest
Inherited Members
IDisposable.Dispose()
IAsyncDisposable.DisposeAsync()

Properties

ConfigureApplicationCallback

Gets or sets the delegate that configures the HTTP request pipeline.

Action<IApplicationBuilder> ConfigureApplicationCallback { get; set; }

Property Value

Action<IApplicationBuilder>

The delegate that configures the HTTP request pipeline.

See Also