Click or drag to resize

ComposedFixtureAddServiceFixtureTService Method

Namespace:  Neon.Xunit
Assembly:  Neon.Xunit (in Neon.Xunit.dll) Version: 2.2.0
Syntax
public void AddServiceFixture<TService>(
	string name,
	NeonServiceFixture<TService> subFixture,
	Func<TService> serviceCreator
)
where TService : NeonService

Parameters

name
Type: SystemString
The fixture name (case insenstitive).
subFixture
Type: Neon.XunitNeonServiceFixtureTService
The subfixture being added.
serviceCreator
Type: SystemFuncTService
Callback that creates and returns the new service instance.

Type Parameters

TService
The service type (derived from NeonService.
See Also