Class HealthService
- Namespace
- Dynamicweb.Diagnostics.Health
- Assembly
- Dynamicweb.Core.dll
The health service
public class HealthService
- Inheritance
-
HealthService
- Inherited Members
Methods
Create(Type)
Creates the health AddIn instance.
public static HealthProviderBase? Create(Type healthProviderType)
Parameters
healthProviderType
TypeType of the AddIn.
Returns
GetAllHealthProviders()
Gets the all HealthProvider AddIn's classes.
public static IEnumerable<Type> GetAllHealthProviders()
Returns
GetDescription(Type)
Gets the health AddIn description attribute.
public static string GetDescription(Type type)
Parameters
type
TypeThe health AddIn type
Returns
GetIcon(Type)
Gets the health AddIn icon attribute.
public static KnownIcon GetIcon(Type type)
Parameters
type
TypeThe widget type
Returns
GetName(Type)
Gets the health AddIn friendly name.
public static string GetName(Type type)
Parameters
type
TypeThe health AddIn type
Returns
GetProviderTypeByName(string)
Gets the type of the health AddIn.
public static Type? GetProviderTypeByName(string healthProviderType)
Parameters
healthProviderType
stringType name of the AddIn.