PROPERTY

HealthCheckOptions.Predicate

Filters checks for a health endpoint.

Formal Syntax & Structure

csharp syntaxcsharp
new HealthCheckOptions { Predicate = r => r.Tags.Contains("ready") }

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.new HealthCheckOptions { Predicate = r => r.Tags.Contains("ready") }
C# & .NET Reference