Class Neo4jDependencyHealthServiceCollectionExtensions
Namespace: Cephalon.Observability.Neo4jDependencies.Hosting
Assembly: Cephalon.Observability.Neo4jDependencies.dll
Adds Neo4j dependency-health services to a Cephalon host.
public static class Neo4jDependencyHealthServiceCollectionExtensionsInheritance
Section titled “Inheritance”object ← Neo4jDependencyHealthServiceCollectionExtensions
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”AddCephalonNeo4jDependencyHealth(IServiceCollection, IConfiguration, Action<Neo4jDependencyHealthOptions>?)
Section titled “ AddCephalonNeo4jDependencyHealth(IServiceCollection, IConfiguration, Action<Neo4jDependencyHealthOptions>?)”Adds Neo4j dependency-health services using configuration as the primary source of probe settings.
public static IServiceCollection AddCephalonNeo4jDependencyHealth(this IServiceCollection services, IConfiguration configuration, Action<Neo4jDependencyHealthOptions>? configure = null)Parameters
Section titled “Parameters”services IServiceCollection
The target service collection.
configuration IConfiguration
The application configuration root.
configure Action<Neo4jDependencyHealthOptions>?
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.
AddCephalonNeo4jDependencyHealth(IServiceCollection, Action<Neo4jDependencyHealthOptions>?)
Section titled “ AddCephalonNeo4jDependencyHealth(IServiceCollection, Action<Neo4jDependencyHealthOptions>?)”Adds Neo4j dependency-health services using code-first configuration.
public static IServiceCollection AddCephalonNeo4jDependencyHealth(this IServiceCollection services, Action<Neo4jDependencyHealthOptions>? configure = null)Parameters
Section titled “Parameters”services IServiceCollection
The target service collection.
configure Action<Neo4jDependencyHealthOptions>?
An optional callback that configures dependency-health options.
Returns
Section titled “Returns”The same service collection for further registration.