C# Class Gammtek.Conduit.Paths.InternalStringExtensions

Provides a set of extension methods dedicated to strings.
Datei anzeigen Open project: ME3Explorer/ME3Explorer

Public Methods

Method Description
EndsWithAny ( this thisString, string str0, string str1 ) : bool

Gets a value indicating whether this string ends with case sensitive to any of the strings specified.

EndsWithAny ( this thisString, string str0, string str1, string str2 ) : bool

Gets a value indicating whether this string ends with case sensitive to any of the strings specified.

EndsWithAny ( this thisString, string str0, string str1, string str2, string str3 ) : bool

Gets a value indicating whether this string ends with case sensitive to any of the strings specified.

EndsWithAny ( this thisString, string str0, string str1, string str2, string str3, string str4 ) : bool

Gets a value indicating whether this string ends with case sensitive to any of the strings specified.

EqualsAny ( this thisString, HashSet hashset ) : bool

Gets a value indicating whether hashset contains the string thisString.

This EqualsAny(string,string,string) overload can be used to check the value of thisString against a large number of strings, in a constant time.

EqualsAny ( this thisString, string str0, string str1 ) : bool

Gets a value indicating whether this string is equal case sensitive to any of the strings specified.

EqualsAny ( this thisString, string str0, string str1, string str2 ) : bool

Gets a value indicating whether this string is equal case sensitive to any of the strings specified.

EqualsAny ( this thisString, string str0, string str1, string str2, string str3 ) : bool

Gets a value indicating whether this string is equal case sensitive to any of the strings specified.

EqualsAny ( this thisString, string str0, string str1, string str2, string str3, string str4 ) : bool

Gets a value indicating whether this string is equal case sensitive to any of the strings specified.

StartsWithAny ( this thisString, string str0, string str1 ) : bool

Gets a value indicating whether this string starts with case sensitive to any of the strings specified.

StartsWithAny ( this thisString, string str0, string str1, string str2 ) : bool

Gets a value indicating whether this string starts with case sensitive to any of the strings specified.

StartsWithAny ( this thisString, string str0, string str1, string str2, string str3 ) : bool

Gets a value indicating whether this string starts with case sensitive to any of the strings specified.

StartsWithAny ( this thisString, string str0, string str1, string str2, string str3, string str4 ) : bool

Gets a value indicating whether this string starts with case sensitive to any of the strings specified.

Method Details

EndsWithAny() public static method

Gets a value indicating whether this string ends with case sensitive to any of the strings specified.
public static EndsWithAny ( this thisString, string str0, string str1 ) : bool
thisString this This string.
str0 string One of the possible end string for .
str1 string One of the possible end string for .
return bool

EndsWithAny() public static method

Gets a value indicating whether this string ends with case sensitive to any of the strings specified.
public static EndsWithAny ( this thisString, string str0, string str1, string str2 ) : bool
thisString this This string.
str0 string One of the possible end string for .
str1 string One of the possible end string for .
str2 string One of the possible end string for .
return bool

EndsWithAny() public static method

Gets a value indicating whether this string ends with case sensitive to any of the strings specified.
public static EndsWithAny ( this thisString, string str0, string str1, string str2, string str3 ) : bool
thisString this This string.
str0 string One of the possible end string for .
str1 string One of the possible end string for .
str2 string One of the possible end string for .
str3 string One of the possible end string for .
return bool

EndsWithAny() public static method

Gets a value indicating whether this string ends with case sensitive to any of the strings specified.
public static EndsWithAny ( this thisString, string str0, string str1, string str2, string str3, string str4 ) : bool
thisString this This string.
str0 string One of the possible end string for .
str1 string One of the possible end string for .
str2 string One of the possible end string for .
str3 string One of the possible end string for .
str4 string One of the possible end string for .
return bool

EqualsAny() public static method

Gets a value indicating whether hashset contains the string thisString.
This EqualsAny(string,string,string) overload can be used to check the value of thisString against a large number of strings, in a constant time.
public static EqualsAny ( this thisString, HashSet hashset ) : bool
thisString this This string.
hashset HashSet An hashset containg possible values for this .
return bool

EqualsAny() public static method

Gets a value indicating whether this string is equal case sensitive to any of the strings specified.
public static EqualsAny ( this thisString, string str0, string str1 ) : bool
thisString this This string.
str0 string One of the possible value for .
str1 string One of the possible value for .
return bool

EqualsAny() public static method

Gets a value indicating whether this string is equal case sensitive to any of the strings specified.
public static EqualsAny ( this thisString, string str0, string str1, string str2 ) : bool
thisString this This string.
str0 string One of the possible value for .
str1 string One of the possible value for .
str2 string One of the possible value for .
return bool

EqualsAny() public static method

Gets a value indicating whether this string is equal case sensitive to any of the strings specified.
public static EqualsAny ( this thisString, string str0, string str1, string str2, string str3 ) : bool
thisString this This string.
str0 string One of the possible value for .
str1 string One of the possible value for .
str2 string One of the possible value for .
str3 string One of the possible value for .
return bool

EqualsAny() public static method

Gets a value indicating whether this string is equal case sensitive to any of the strings specified.
public static EqualsAny ( this thisString, string str0, string str1, string str2, string str3, string str4 ) : bool
thisString this This string.
str0 string One of the possible value for .
str1 string One of the possible value for .
str2 string One of the possible value for .
str3 string One of the possible value for .
str4 string One of the possible value for .
return bool

StartsWithAny() public static method

Gets a value indicating whether this string starts with case sensitive to any of the strings specified.
public static StartsWithAny ( this thisString, string str0, string str1 ) : bool
thisString this This string.
str0 string One of the possible start string for .
str1 string One of the possible start string for .
return bool

StartsWithAny() public static method

Gets a value indicating whether this string starts with case sensitive to any of the strings specified.
public static StartsWithAny ( this thisString, string str0, string str1, string str2 ) : bool
thisString this This string.
str0 string One of the possible start string for .
str1 string One of the possible start string for .
str2 string One of the possible start string for .
return bool

StartsWithAny() public static method

Gets a value indicating whether this string starts with case sensitive to any of the strings specified.
public static StartsWithAny ( this thisString, string str0, string str1, string str2, string str3 ) : bool
thisString this This string.
str0 string One of the possible start string for .
str1 string One of the possible start string for .
str2 string One of the possible start string for .
str3 string One of the possible start string for .
return bool

StartsWithAny() public static method

Gets a value indicating whether this string starts with case sensitive to any of the strings specified.
public static StartsWithAny ( this thisString, string str0, string str1, string str2, string str3, string str4 ) : bool
thisString this This string.
str0 string One of the possible start string for .
str1 string One of the possible start string for .
str2 string One of the possible start string for .
str3 string One of the possible start string for .
str4 string One of the possible start string for .
return bool