Open sandboxFocus

Class TransactionPolicyExpressionFunctions

Contains extra functions usable from predicates in XML policy configuration files.

Inheritance
TransactionPolicyExpressionFunctions
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 input matches the regex pattern.

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.