Share via


HealthCheckRegistration.Factory Property

Definition

Gets or sets a delegate used to create the IHealthCheck instance.

public:
 property Func<IServiceProvider ^, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck ^> ^ Factory { Func<IServiceProvider ^, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck ^> ^ get(); void set(Func<IServiceProvider ^, Microsoft::Extensions::Diagnostics::HealthChecks::IHealthCheck ^> ^ value); };
public Func<IServiceProvider,Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck> Factory { get; set; }
member this.Factory : Func<IServiceProvider, Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck> with get, set
Public Property Factory As Func(Of IServiceProvider, IHealthCheck)

Property Value

Applies to