Interface IHostFixture
- Namespace
- Codebelt.Extensions.Xunit.Hosting
- Assembly
- Codebelt.Extensions.Xunit.Hosting.dll
Provides a way to support app and lifetime management in unit tests.
public interface IHostFixture : IConfigurationTest, IEnvironmentTest, IDisposable, IAsyncDisposable
- Inherited Members
Properties
ConfigureCallback
Gets or sets the delegate that adds configuration and environment information to a HostTest.
Action<IConfiguration, IHostEnvironment> ConfigureCallback { get; set; }
Property Value
- Action<IConfiguration, IHostEnvironment>
The delegate that adds configuration and environment information to a HostTest.
Host
Gets the IHost initialized by either the IGenericHostFixture or IMinimalHostFixture.
IHost Host { get; }
Property Value
- IHost
The IHost initialized by the IGenericHostFixture or IMinimalHostFixture.