Class CassandraDependencyHealthServiceCollectionExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Observability.CassandraDependencies.Hosting
Assembly: Cephalon.Observability.CassandraDependencies.dll
Adds Cassandra dependency-health services to a Cephalon host.
public static class CassandraDependencyHealthServiceCollectionExtensionsInheritance
Section titled “Inheritance”object ← CassandraDependencyHealthServiceCollectionExtensions
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”AddCephalonCassandraDependencyHealth(IServiceCollection, IConfiguration, Action<CassandraDependencyHealthOptions>?)
Section titled “ AddCephalonCassandraDependencyHealth(IServiceCollection, IConfiguration, Action<CassandraDependencyHealthOptions>?)”Adds Cassandra dependency-health services using configuration as the primary source of probe settings.
public static IServiceCollection AddCephalonCassandraDependencyHealth(this IServiceCollection services, IConfiguration configuration, Action<CassandraDependencyHealthOptions>? configure = null)Parameters
Section titled “Parameters”services IServiceCollection
The target service collection.
configuration IConfiguration
The application configuration root.
configure Action<CassandraDependencyHealthOptions>?
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.
AddCephalonCassandraDependencyHealth(IServiceCollection, Action<CassandraDependencyHealthOptions>?)
Section titled “ AddCephalonCassandraDependencyHealth(IServiceCollection, Action<CassandraDependencyHealthOptions>?)”Adds Cassandra dependency-health services using code-first configuration.
public static IServiceCollection AddCephalonCassandraDependencyHealth(this IServiceCollection services, Action<CassandraDependencyHealthOptions>? configure = null)Parameters
Section titled “Parameters”services IServiceCollection
The target service collection.
configure Action<CassandraDependencyHealthOptions>?
An optional callback that configures dependency-health options.
Returns
Section titled “Returns”The same service collection for further registration.