Table of Contents

IMinimalHostFixture Interface

Definition

Namespace
Codebelt.Extensions.Xunit.Hosting
Assemblies
Codebelt.Extensions.Xunit.Hosting.dll
Source
src/Codebelt.Extensions.Xunit.Hosting/IMinimalHostFixture.cs

Provides a way to use Microsoft Dependency Injection in unit tests (minimal style).

public interface IMinimalHostFixture : IHostFixture, IConfigurationTest, IEnvironmentTest, IDisposable, IAsyncDisposable
Inherited Members
Extension Methods

Properties

Name Description
ConfigureHostCallback

Gets or sets the delegate that provides a way to override the IHostApplicationBuilder defaults set up by ConfigureHost(Test).

Methods

Name Description
ConfigureHost(Test)

Creates and configures the IHost of this IMinimalHostFixture.

See Also