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.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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