Docs · API reference · Motus.Abstractions
PerformanceBudgetResult Class#
The result of evaluating a PerformanceBudget against collected metrics.
public sealed record PerformanceBudgetResult : System.IEquatable<Motus.Abstractions.PerformanceBudgetResult>
Inheritance System.Object → PerformanceBudgetResult
Implements System.IEquatable<PerformanceBudgetResult>
Constructors#
PerformanceBudgetResult(IReadOnlyList<PerformanceBudgetEntry>, bool) Constructor#
The result of evaluating a PerformanceBudget against collected metrics.
public PerformanceBudgetResult(System.Collections.Generic.IReadOnlyList<Motus.Abstractions.PerformanceBudgetEntry> Entries, bool Passed);
Parameters#
Entries System.Collections.Generic.IReadOnlyList<PerformanceBudgetEntry>
Per-metric evaluation results for each configured threshold.
Passed System.Boolean
True if all configured metrics are within budget.
Properties#
Entries Property#
Per-metric evaluation results for each configured threshold.
public System.Collections.Generic.IReadOnlyList<Motus.Abstractions.PerformanceBudgetEntry> Entries { get; init; }
Property Value#
System.Collections.Generic.IReadOnlyList<PerformanceBudgetEntry>
Passed Property#
True if all configured metrics are within budget.
public bool Passed { get; init; }