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