Class RabbitMqDependencyHealthServiceCollectionExtensions
Namespace: Cephalon.Observability.RabbitMqDependencies.Hosting
Assembly: Cephalon.Observability.RabbitMqDependencies.dll
Adds RabbitMQ dependency-health services to a Cephalon host.
public static class RabbitMqDependencyHealthServiceCollectionExtensionsInheritance
Section titled “Inheritance”object ← RabbitMqDependencyHealthServiceCollectionExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”AddCephalonRabbitMqDependencyHealth(IServiceCollection, IConfiguration, Action<RabbitMqDependencyHealthOptions>?)
Section titled “ AddCephalonRabbitMqDependencyHealth(IServiceCollection, IConfiguration, Action<RabbitMqDependencyHealthOptions>?)”Adds RabbitMQ dependency-health services using configuration as the primary source of probe settings.
public static IServiceCollection AddCephalonRabbitMqDependencyHealth(this IServiceCollection services, IConfiguration configuration, Action<RabbitMqDependencyHealthOptions>? configure = null)Parameters
Section titled “Parameters”services IServiceCollection
The target service collection.
configuration IConfiguration
The application configuration root.
configure Action<RabbitMqDependencyHealthOptions>?
An optional callback that can extend or override the configuration-driven dependency-health setup.
Returns
Section titled “Returns”The same service collection for further registration.
AddCephalonRabbitMqDependencyHealth(IServiceCollection, Action<RabbitMqDependencyHealthOptions>?)
Section titled “ AddCephalonRabbitMqDependencyHealth(IServiceCollection, Action<RabbitMqDependencyHealthOptions>?)”Adds RabbitMQ dependency-health services using code-first configuration.
public static IServiceCollection AddCephalonRabbitMqDependencyHealth(this IServiceCollection services, Action<RabbitMqDependencyHealthOptions>? configure = null)Parameters
Section titled “Parameters”services IServiceCollection
The target service collection.
configure Action<RabbitMqDependencyHealthOptions>?
An optional callback that configures dependency-health options.
Returns
Section titled “Returns”The same service collection for further registration.