CreateAdditionalServiceCollection(params IService[])
Creates a collection of additional services that can then be passed to CreateTestContext(IAdditionalServiceCollection, string?, string?).
Declaration
protected static IAdditionalServiceCollection CreateAdditionalServiceCollection(params IService[] services)
Parameters
Type | Name | Description |
---|---|---|
IService[] | services |
Returns
Type | Description |
---|---|
IAdditionalServiceCollection |