WithServices(params IProjectService[])
Returns a new ServiceProvider<TBase> with additional services.
Declaration
public ServiceProvider<IProjectService> WithServices(params IProjectService[] services)Parameters
| Type | Name | Description |
|---|---|---|
| IProjectService[] | services | The services to add. |
Returns
| Type | Description |
|---|---|
| ServiceProvider<IProjectService> | A new provider instance with the added services. |
WithServices(IEnumerable<IProjectService>)
Returns a new ServiceProvider<TBase> with additional services.
Declaration
public ServiceProvider<IProjectService> WithServices(IEnumerable<IProjectService> services)Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IProjectService> | services | The services to add. |
Returns
| Type | Description |
|---|---|
| ServiceProvider<IProjectService> | A new provider instance with the added services. |