Contains extra functions usable from predicates in XML policy configuration files.
Namespace: PostSharp.Patterns.Diagnostics.Transactions.Model
Assembly: PostSharp.Patterns.Diagnostics.Configuration.dll
Syntax
public static class TransactionPolicyExpressionFunctions
Methods
Name | Description |
---|---|
Matches(string, string) | Returns true if the string |
OnceEveryXSeconds(double, string) | Returns true if the method has not returned true for the same key for a period of time. |
Random(double) | Returns true randomly, with a chance given by the threshold. |