Docs · API reference · Motus.Abstractions

PerformanceOptions Class#

Configuration for the built-in performance metrics collector hook.

public sealed record PerformanceOptions : System.IEquatable<Motus.Abstractions.PerformanceOptions>

Inheritance System.Object → PerformanceOptions

Implements System.IEquatable<PerformanceOptions>

Properties#

CollectAfterNavigation Property#

Whether to collect metrics after each navigation. Default: true.

public bool CollectAfterNavigation { get; init; }

Property Value#

System.Boolean

Enable Property#

Whether the performance metrics collector is enabled. Default: false.

public bool Enable { get; init; }

Property Value#

System.Boolean