Class RuleEvaluationOptions
- Namespace
- JD.Domain.Abstractions
- Assembly
- JD.Domain.Abstractions.dll
Represents the evaluation options for domain rules.
public sealed class RuleEvaluationOptions
- Inheritance
-
RuleEvaluationOptions
- Inherited Members
Properties
Context
Gets additional context data for rule evaluation.
public IReadOnlyDictionary<string, object?> Context { get; init; }
Property Value
Default
Gets the default evaluation options.
public static RuleEvaluationOptions Default { get; }
Property Value
IncludeInfo
Gets a value indicating whether to include informational results.
public bool IncludeInfo { get; init; }
Property Value
PropertyName
Gets the name of a specific property to evaluate rules for. If null, evaluates rules for all properties.
public string? PropertyName { get; init; }
Property Value
RuleSet
Gets the name of the rule set to evaluate. If null, evaluates all rules.
public string? RuleSet { get; init; }
Property Value
StopOnFirstError
Gets a value indicating whether to stop on first error.
public bool StopOnFirstError { get; init; }