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