Class RuleViolationProblemDetail
JSON shape used for rule violations in ProblemDetails extensions.
public sealed record RuleViolationProblemDetail : IEquatable<RuleViolationProblemDetail>
- Inheritance
-
RuleViolationProblemDetail
- Implements
- Inherited Members
- Extension Methods
Constructors
RuleViolationProblemDetail(string, string?, string[])
JSON shape used for rule violations in ProblemDetails extensions.
public RuleViolationProblemDetail(string Code, string? Detail, string[] Fields)
Parameters
Properties
Code
public string Code { get; init; }
Property Value
Detail
public string? Detail { get; init; }
Property Value
Fields
public string[] Fields { get; init; }
Property Value
- string[]