The design document of Fleury
- Exceptions
- String
- NoSuchStringException
- String
-
String
-
StringExtensions
-
EmptyCheck
-
bool IsEmpty(this string source, bool whiteSpace = true)
-
bool IsNotEmpty(this string source, bool whiteSpace = true)
-
string IsEmptyOrThrow(this string source, bool whiteSpace = true, Exception exception = null)
-
string IsNotEmptyOrThrow(this string source, bool whiteSpace = true, Exception exception = null)
-
-
JsonCheck
-
bool IsJson(this string source)
-
string IsJsonOrThrow(this string source, Exception exception = null)
-
bool IsJObject(this string source)
-
bool IsJObject(this string source, out JObject output)
-
JObject IsJObjectOrThrow(this string source, Exception exception = null)
-
bool IsJArray(this string source)
-
bool IsJArray(this string source, out JArray output)
-
JArray IsJArrayOrThrow(this string source, Exception exception = null)
-
-
NetworkingCheck
-
bool IsIpAddress(this string source)
-
bool IsIpAddress(this string source, out IPAddress ipAddress)
-
IPAddress IsIpAddressOrThrow(this string source, Exception exception = null)
-
bool IsHost(this string source)
-
string IsHostOrThrow(this string source, Exception exception = null)
-
bool IsUrl(this string source)
-
string IsUrlOrThrow(this string source, Exception exception = null)
-
-
NumberCheck
-
bool IsInt(this string source)
-
bool IsInt(this string source, out int output)
-
int IsIntOrThrow(this string source, Exception exception = null)
-
bool IsLong(this string source)
-
bool IsLong(this string source, out long output)
-
long IsLongOrThrow(this string source, Exception exception = null)
-
bool IsInteger(this string source)
-
string IsIntegerOrThrow(this string source, Exception exception = null)
-
-
Replacement
-
string NormalizePath(this string source, char basicSeparator = '/')
-
string Empty(this string source, string target)
-
-
Splitter
-
string SubStringAfter(this string source, string after, bool include = true)
-
string SubStringAfter(this string source, string after, int count, bool include = true)
-
string SubStringAfterLast(this string source, string after, bool include = true)
-
string SubStringAfterLast(this string source, string after, int count, bool include = true)
-
-
-