Class TransactionPolicyExpressionFunctions
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 : Object
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. |