Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
easyextensionsaspnetcore ServiceCollectionExtensions
BigMakCode edited this page Aug 5, 2024
·
1 revision
IServiceCollection extensions.
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph EasyExtensions.AspNetCore
EasyExtensions.AspNetCore.ServiceCollectionExtensions[[ServiceCollectionExtensions]]
end
| Returns | Name |
|---|---|
IServiceCollection | AddCpuUsageService(IServiceCollection services)Adds CpuUsageService to the IServiceCollection . |
IServiceCollection | AddExceptionHandler(IServiceCollection services)Adds exception handler for EasyExtensions.EntityFrameworkCore.Exceptions to the IServiceCollection . |
IServiceCollection | AddTypesOfInterface(IServiceCollection services, ServiceLifetime serviceLifetime) |
IServiceCollection extensions.
publicstaticIServiceCollectionAddExceptionHandler(IServiceCollectionservices)| Type | Name | Description |
|---|---|---|
IServiceCollection | services | The IServiceCollection instance. |
Adds exception handler for EasyExtensions.EntityFrameworkCore.Exceptions to the IServiceCollection .
Current IServiceCollection instance.
publicstaticIServiceCollectionAddCpuUsageService(IServiceCollectionservices)| Type | Name | Description |
|---|---|---|
IServiceCollection | services | Current IServiceCollection instance. |
Adds CpuUsageService to the IServiceCollection .
Current IServiceCollection instance.
publicstaticIServiceCollectionAddTypesOfInterface<TInterface>(IServiceCollectionservices,ServiceLifetimeserviceLifetime)whereTInterface:| Type | Name | Description |
|---|---|---|
IServiceCollection | services | |
ServiceLifetime | serviceLifetime |
Generated withModularDoc