Click or drag to resize

ConditionMethods Class

A bunch of utility methods (mostly predicates) which can be used in condition expressions. Partially inspired by XPath 1.0.
Inheritance Hierarchy
SystemObject
  NLog.ConditionsConditionMethods

Namespace:  NLog.Conditions
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
public static class ConditionMethods

The ConditionMethods type exposes the following members.

Methods
  NameDescription
Public methodStatic memberContains
Gets or sets a value indicating whether the second string is a substring of the first one.
Public methodStatic memberEndsWith
Gets or sets a value indicating whether the second string is a suffix of the first one.
Public methodStatic memberEquals2(Object, Object)
Compares two values for equality.
Public methodStatic memberEquals2(String, String, Boolean)
Compares two strings for equality.
Public methodStatic memberLength
Returns the length of a string.
Public methodStatic memberRegexMatches
Indicates whether the specified regular expression finds a match in the specified input string.
Public methodStatic memberStartsWith
Gets or sets a value indicating whether the second string is a prefix of the first one.
Top
See Also