Class TextP
A TextP is a predicate of the form Func<string, bool>.
That is, given some string, return true or false.
Inheritance
System.Object
TextP
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: cs.temp.dll.dll
Syntax
public class TextP : P, IPredicate
Constructors
TextP(String, String, P)
Initializes a new instance of the TextP class.
Declaration
public TextP(string operatorName, string value, P other = null)
Parameters
Type |
Name |
Description |
System.String |
operatorName |
The name of the predicate.
|
System.String |
value |
The value of the predicate.
|
P |
other |
An optional other predicate that is used as an argument for this predicate.
|
Methods
Containing(String)
Declaration
public static TextP Containing(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
EndingWith(String)
Declaration
public static TextP EndingWith(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
NotContaining(String)
Declaration
public static TextP NotContaining(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
NotEndingWith(String)
Declaration
public static TextP NotEndingWith(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
NotRegex(String)
Declaration
public static TextP NotRegex(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
NotStartingWith(String)
Declaration
public static TextP NotStartingWith(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Regex(String)
Declaration
public static TextP Regex(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
StartingWith(String)
Declaration
public static TextP StartingWith(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
Implements