PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Transactions.​ModelTransaction­Policy­Expression­FunctionsMatches
Open sandboxFocus

TransactionPolicyExpressionFunctions.Matches Method

Matches(String, String)

Returns true if the string input matches the regex pattern.

Declaration
public static bool Matches(string input, string pattern)
Parameters
Type Name Description
System.String input

An input string, haystack.

System.String pattern

The regex pattern.

Returns
Type Description
Boolean