PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Transactions.​Model Namespace / Policy­Configuration­Model Class / Policy­Configuration­Model Properties / Policy­Configuration­Model.​Sample Property

PolicyConfigurationModel.Sample Property

A C# predicate mapping a parameter t to a bool that determines whether the current transaction, after it has been matched by the If predicate, must actually be logged or not. This attribute typically contains a call to Random(Double) or OnceEveryXSeconds(Double, String).

Namespace:  PostSharp.Patterns.Diagnostics.Transactions.Model
Assembly:  PostSharp.Patterns.Diagnostics.Configuration (in PostSharp.Patterns.Diagnostics.Configuration.dll) Version: 2023.0.3.0 (2023.0.3.0)
public string Sample { get; }

Property Value

Type: String
See Also