AddProjectService<T>(T, bool)
Declaration
void AddProjectService<T>(T service, bool allowOverride = false) where T : IProjectService
Parameters
Type | Name | Description |
---|---|---|
T | service | |
bool | allowOverride |
Type Parameters
Name | Description |
---|---|
T |
AddProjectService<T>(Func<ProjectServiceProvider, T>, bool)
Declaration
void AddProjectService<T>(Func<ProjectServiceProvider, T> service, bool allowOverride = false) where T : class, IProjectService
Parameters
Type | Name | Description |
---|---|---|
Func<ProjectServiceProvider, T> | service | |
bool | allowOverride |
Type Parameters
Name | Description |
---|---|
T |