Partager via


HealthCheckRegistration.Factory Propriété

Définition

Obtient ou définit un délégué permettant de créer l’instance IHealthCheck.

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)

Valeur de propriété

S’applique à