Class TextP
A TextP is a predicate of the form Func<string, bool>.
That is, given some string, return true or false.
Assembly: Gremlin.Net.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 |
string |
operatorName |
The name of the predicate.
|
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 |
string |
value |
|
Returns
EndingWith(string)
Declaration
public static TextP EndingWith(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
NotContaining(string)
Declaration
public static TextP NotContaining(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
NotEndingWith(string)
Declaration
public static TextP NotEndingWith(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
NotRegex(string)
Declaration
public static TextP NotRegex(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
NotStartingWith(string)
Declaration
public static TextP NotStartingWith(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
Regex(string)
Declaration
public static TextP Regex(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
StartingWith(string)
Declaration
public static TextP StartingWith(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements