View Source
Class HealthCheckGroupPresentationFactory
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class HealthCheckGroupPresentationFactory : IHealthCheckGroupPresentationFactory
Constructors
View Source
HealthCheckGroupPresentationFactory(IOptions<HealthChecksSettings>, HealthCheckCollection, ILogger<IHealthCheckGroupPresentationFactory>, IUmbracoMapper)
Declaration
public HealthCheckGroupPresentationFactory(IOptions<HealthChecksSettings> healthChecksSettings, HealthCheckCollection healthChecks, ILogger<IHealthCheckGroupPresentationFactory> logger, IUmbracoMapper umbracoMapper)
Parameters
Type |
Name |
Description |
IOptions<HealthChecksSettings> |
healthChecksSettings |
|
HealthCheckCollection |
healthChecks |
|
ILogger<IHealthCheckGroupPresentationFactory> |
logger |
|
IUmbracoMapper |
umbracoMapper |
|
Methods
View Source
CreateGroupingFromHealthCheckCollection()
Declaration
public IEnumerable<IGrouping<string, HealthCheck>> CreateGroupingFromHealthCheckCollection()
Returns
Type |
Description |
IEnumerable<IGrouping<System.String, HealthCheck>> |
|
View Source
CreateHealthCheckGroupWithResultViewModel(IGrouping<String, HealthCheck>)
Declaration
public HealthCheckGroupWithResultResponseModel CreateHealthCheckGroupWithResultViewModel(IGrouping<string, HealthCheck> healthCheckGroup)
Parameters
Type |
Name |
Description |
IGrouping<System.String, HealthCheck> |
healthCheckGroup |
|
Returns
View Source
CreateHealthCheckGroupWithResultViewModelAsync(IGrouping<String, HealthCheck>)
Declaration
public async Task<HealthCheckGroupWithResultResponseModel> CreateHealthCheckGroupWithResultViewModelAsync(IGrouping<string, HealthCheck> healthCheckGroup)
Parameters
Type |
Name |
Description |
IGrouping<System.String, HealthCheck> |
healthCheckGroup |
|
Returns
View Source
CreateHealthCheckWithResultViewModel(HealthCheck)
Declaration
public HealthCheckWithResultPresentationModel CreateHealthCheckWithResultViewModel(HealthCheck healthCheck)
Parameters
Type |
Name |
Description |
HealthCheck |
healthCheck |
|
Returns
View Source
CreateHealthCheckWithResultViewModelAsync(HealthCheck)
Declaration
public async Task<HealthCheckWithResultPresentationModel> CreateHealthCheckWithResultViewModelAsync(HealthCheck healthCheck)
Parameters
Type |
Name |
Description |
HealthCheck |
healthCheck |
|
Returns