PostSharp 6.10 / / 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: 6.10.10.0 (6.10.10.0)
Syntax
C#
public string Sample { get; }

Property Value

Type: String
See Also