HealthCheckRegistration.Factory 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置用于创建 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)