Class MemcachedDependencyHealthOptions
Namespace: Cephalon.Observability.MemcachedDependencies.Configuration
Assembly: Cephalon.Observability.MemcachedDependencies.dll
Configures Memcached dependency probes contributed to Cephalon runtime health.
public sealed class MemcachedDependencyHealthOptions : DependencyHealthOptionsBase<MemcachedDependencyDefinition>Inheritance
Section titled “Inheritance”object ← DependencyHealthOptionsBase<MemcachedDependencyDefinition> ← MemcachedDependencyHealthOptions
Inherited Members
Section titled “Inherited Members”DependencyHealthOptionsBase<MemcachedDependencyDefinition>.RefreshIntervalSeconds, DependencyHealthOptionsBase<MemcachedDependencyDefinition>.Dependencies, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”MemcachedDependencyHealthOptions()
Section titled “ MemcachedDependencyHealthOptions()”Initializes a new instance of the
public MemcachedDependencyHealthOptions()Methods
Section titled “Methods”FromConfiguration(IConfiguration, string)
Section titled “ FromConfiguration(IConfiguration, string)”Binds Memcached dependency-health options from configuration.
public static MemcachedDependencyHealthOptions FromConfiguration(IConfiguration configuration, string sectionPath = "Engine")Parameters
Section titled “Parameters”configuration IConfiguration
The application configuration root.
sectionPath string
The configuration section path that contains the engine settings. The default is Engine.
Returns
Section titled “Returns”MemcachedDependencyHealthOptions
The bound dependency-health options.