PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Transactions.​ModelPolicy­Configuration­ModelSample
Open sandboxFocus

PolicyConfigurationModel.Sample Property

Sample

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).

Declaration
public string Sample { get; }
Property Value
Type Description
System.String