Z.Core.Extensions Namespace

Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

namespace Z.Core.Extensions

SByte Extended Type

SByte Description
Abs(sbyte) Returns the absolute value of an 8-bit signed integer.
In(sbyte, sbyte[]) A T extension method to determines whether the object is equal to any of the provided values.
Max(sbyte, sbyte) Returns the larger of two 8-bit signed integers.
Min(sbyte, sbyte) Returns the smaller of two 8-bit signed integers.
NotIn(sbyte, sbyte[]) A T extension method to determines whether the object is not equal to any of the provided values.
Sign(sbyte) Returns a value indicating the sign of an 8-bit signed integer.

Single Extended Type

Single Description
Abs(float) Returns the absolute value of a single-precision floating-point number.
Between(float, float, float) A T extension method that check if the value is between (exclusif) the minValue and maxValue.
In(float, float[]) A T extension method to determines whether the object is equal to any of the provided values.
InRange(float, float, float) A T extension method that check if the value is between inclusively the minValue and maxValue.
IsInfinity(float) Returns a value indicating whether the specified number evaluates to negative or positive infinity.
IsNaN(float) Returns a value that indicates whether the specified value is not a number ().
IsNegativeInfinity(float) Returns a value indicating whether the specified number evaluates to negative infinity.
IsPositiveInfinity(float) Returns a value indicating whether the specified number evaluates to positive infinity.
Max(float, float) Returns the larger of two single-precision floating-point numbers.
Min(float, float) Returns the smaller of two single-precision floating-point numbers.
NotIn(float, float[]) A T extension method to determines whether the object is not equal to any of the provided values.
Sign(float) Returns a value indicating the sign of a single-precision floating-point number.

Int64 Extended Type

Int64 Description
Abs(long) Returns the absolute value of a 64-bit signed integer.
Between(long, long, long) A T extension method that check if the value is between (exclusif) the minValue and maxValue.
Days(long) An Int64 extension method that days the given this.
DivRem(long, long, out long) An Int64 extension method that div rem.
FactorOf(long, long) An Int64 extension method that factor of.
FromBinary(long) Deserializes a 64-bit binary value and recreates an original serialized object.
FromFileTime(long) Converts the specified Windows file time to an equivalent local time.
FromFileTimeUtc(long) Converts the specified Windows file time to an equivalent UTC time.
FromOACurrency(long) Converts the specified 64-bit signed integer, which contains an OLE Automation Currency value, to the equivalent value.
FromTicks(long) Returns a that represents a specified time, where the specification is in units of ticks.
GetBytes(long) Returns the specified 64-bit signed integer value as an array of bytes.
HostToNetworkOrder(long) Converts a long value from host byte order to network byte order.
Hours(long) An Int64 extension method that hours the given this.
In(long, long[]) A T extension method to determines whether the object is equal to any of the provided values.
InRange(long, long, long) A T extension method that check if the value is between inclusively the minValue and maxValue.
Int64BitsToDouble(long) Converts the specified 64-bit signed integer to a double-precision floating point number.
IsEven(long) An Int64 extension method that query if '@this' is even.
IsMultipleOf(long, long) An Int64 extension method that query if '@this' is multiple of.
IsOdd(long) An Int64 extension method that query if '@this' is odd.
IsPrime(long) An Int64 extension method that query if '@this' is prime.
Max(long, long) Returns the larger of two 64-bit signed integers.
Milliseconds(long) An Int64 extension method that milliseconds the given this.
Min(long, long) Returns the smaller of two 64-bit signed integers.
Minutes(long) An Int64 extension method that minutes the given this.
NetworkToHostOrder(long) Converts a long value from network byte order to host byte order.
NotIn(long, long[]) A T extension method to determines whether the object is not equal to any of the provided values.
Seconds(long) An Int64 extension method that seconds the given this.
Sign(long) Returns a value indicating the sign of a 64-bit signed integer.
Weeks(long) An Int64 extension method that weeks the given this.

Int16 Extended Type

Int16 Description
Abs(short) Returns the absolute value of a 16-bit signed integer.
Between(short, short, short) A T extension method that check if the value is between (exclusif) the minValue and maxValue.
Days(short) An Int16 extension method that days the given this.
FactorOf(short, short) An Int16 extension method that factor of.
GetBytes(short) Returns the specified 16-bit signed integer value as an array of bytes.
HostToNetworkOrder(short) Converts a short value from host byte order to network byte order.
Hours(short) An Int16 extension method that hours the given this.
In(short, short[]) A T extension method to determines whether the object is equal to any of the provided values.
InRange(short, short, short) A T extension method that check if the value is between inclusively the minValue and maxValue.
IsEven(short) An Int16 extension method that query if '@this' is even.
IsMultipleOf(short, short) An Int16 extension method that query if '@this' is multiple of.
IsOdd(short) An Int16 extension method that query if '@this' is odd.
IsPrime(short) An Int16 extension method that query if '@this' is prime.
Max(short, short) Returns the larger of two 16-bit signed integers.
Milliseconds(short) An Int16 extension method that milliseconds the given this.
Min(short, short) Returns the smaller of two 16-bit signed integers.
Minutes(short) An Int16 extension method that minutes the given this.
NetworkToHostOrder(short) Converts a short value from network byte order to host byte order.
NotIn(short, short[]) A T extension method to determines whether the object is not equal to any of the provided values.
Seconds(short) An Int16 extension method that seconds the given this.
Sign(short) Returns a value indicating the sign of a 16-bit signed integer.
Weeks(short) An Int16 extension method that weeks the given this.

Int32 Extended Type

Int32 Description
Abs(int) Returns the absolute value of a 32-bit signed integer.
Between(int, int, int) A T extension method that check if the value is between (exclusif) the minValue and maxValue.
BigMul(int, int) Produces the full product of two 32-bit numbers.
ConvertFromUtf32(int) Converts the specified Unicode code point into a UTF-16 encoded string.
Days(int) An Int32 extension method that days the given this.
DaysInMonth(int, int) Returns the number of days in the specified month and year.
DivRem(int, int, out int) An Int32 extension method that div rem.
FactorOf(int, int) An Int32 extension method that factor of.
FromArgb(int) Creates a structure from a 32-bit ARGB value.
FromArgb(int, int, int, int) Creates a structure from the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.
FromArgb(int, Color) Creates a structure from the specified structure, but with the new specified alpha value. Although this method allows a 32-bit value to be passed for the alpha value, the value is limited to 8 bits.
FromArgb(int, int, int) Creates a structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.
FromOle(int) Translates an OLE color value to a GDI+ structure.
FromWin32(int) Translates a Windows color value to a GDI+ structure.
GetBytes(int) Returns the specified 32-bit signed integer value as an array of bytes.
HostToNetworkOrder(int) Converts an integer value from host byte order to network byte order.
Hours(int) An Int32 extension method that hours the given this.
In(int, int[]) A T extension method to determines whether the object is equal to any of the provided values.
InRange(int, int, int) A T extension method that check if the value is between inclusively the minValue and maxValue.
IsEven(int) An Int32 extension method that query if '@this' is even.
IsLeapYear(int) Returns an indication whether the specified year is a leap year.
IsMultipleOf(int, int) An Int32 extension method that query if '@this' is multiple of.
IsOdd(int) An Int32 extension method that query if '@this' is odd.
IsPrime(int) An Int32 extension method that query if '@this' is prime.
Max(int, int) Returns the larger of two 32-bit signed integers.
Milliseconds(int) An Int32 extension method that milliseconds the given this.
Min(int, int) Returns the smaller of two 32-bit signed integers.
Minutes(int) An Int32 extension method that minutes the given this.
NetworkToHostOrder(int) Converts an integer value from network byte order to host byte order.
NotIn(int, int[]) A T extension method to determines whether the object is not equal to any of the provided values.
Seconds(int) An Int32 extension method that seconds the given this.
Sign(int) Returns a value indicating the sign of a 32-bit signed integer.
Weeks(int) An Int32 extension method that weeks the given this.

Decimal Extended Type

Decimal Description
Abs(decimal) Returns the absolute value of a number.
Between(decimal, decimal, decimal) A T extension method that check if the value is between (exclusif) the minValue and maxValue.
Ceiling(decimal) Returns the smallest integral value that is greater than or equal to the specified decimal number.
Divide(decimal, decimal) Divides two specified values.
Floor(decimal) Returns the largest integer less than or equal to the specified decimal number.
GetBits(decimal) Converts the value of a specified instance of to its equivalent binary representation.
In(decimal, decimal[]) A T extension method to determines whether the object is equal to any of the provided values.
InRange(decimal, decimal, decimal) A T extension method that check if the value is between inclusively the minValue and maxValue.
Max(decimal, decimal) Returns the larger of two decimal numbers.
Min(decimal, decimal) Returns the smaller of two decimal numbers.
Multiply(decimal, decimal) Multiplies two specified values.
Negate(decimal) Returns the result of multiplying the specified value by negative one.
NotIn(decimal, decimal[]) A T extension method to determines whether the object is not equal to any of the provided values.
Remainder(decimal, decimal) Computes the remainder after dividing two values.
Round(decimal) Rounds a decimal value to the nearest integral value.
Round(decimal, int) Rounds a decimal value to a specified number of fractional digits.
Round(decimal, MidpointRounding) Rounds a decimal value to the nearest integer. A parameter specifies how to round the value if it is midway between two numbers.
Round(decimal, int, MidpointRounding) Rounds a decimal value to a specified number of fractional digits. A parameter specifies how to round the value if it is midway between two numbers.
Sign(decimal) Returns a value indicating the sign of a decimal number.
Subtract(decimal, decimal) Subtracts one specified value from another.
ToByte(decimal) Converts the value of the specified to the equivalent 8-bit unsigned integer.
ToDouble(decimal) Converts the value of the specified to the equivalent double-precision floating-point number.
ToInt16(decimal) Converts the value of the specified to the equivalent 16-bit signed integer.
ToInt32(decimal) Converts the value of the specified to the equivalent 32-bit signed integer.
ToInt64(decimal) Converts the value of the specified to the equivalent 64-bit signed integer.
ToMoney(decimal) A Decimal extension method that converts the @this to a money.
ToOACurrency(decimal) Converts the specified value to the equivalent OLE Automation Currency value, which is contained in a 64-bit signed integer.
ToSByte(decimal) Converts the value of the specified to the equivalent 8-bit signed integer.
ToSingle(decimal) Converts the value of the specified to the equivalent single-precision floating-point number.
ToUInt16(decimal) Converts the value of the specified to the equivalent 16-bit unsigned integer.
ToUInt32(decimal) Converts the value of the specified to the equivalent 32-bit unsigned integer.
ToUInt64(decimal) Converts the value of the specified to the equivalent 64-bit unsigned integer.
Truncate(decimal) Calculates the integral part of a specified decimal number.

Double Extended Type

Double Description
Abs(double) Returns the absolute value of a double-precision floating-point number.
Acos(double) Returns the angle whose cosine is the specified number.
Asin(double) Returns the angle whose sine is the specified number.
Atan(double) Returns the angle whose tangent is the specified number.
Atan2(double, double) Returns the angle whose tangent is the quotient of two specified numbers.
Between(double, double, double) A T extension method that check if the value is between (exclusif) the minValue and maxValue.
Ceiling(double) Returns the smallest integral value that is greater than or equal to the specified double-precision floating- point number.
Cos(double) Returns the cosine of the specified angle.
Cosh(double) Returns the hyperbolic cosine of the specified angle.
Exp(double) Returns e raised to the specified power.
Floor(double) Returns the largest integer less than or equal to the specified double-precision floating-point number.
FromDays(double) Returns a that represents a specified number of days, where the specification is accurate to the nearest millisecond.
FromHours(double) Returns a that represents a specified number of hours, where the specification is accurate to the nearest millisecond.
FromMilliseconds(double) Returns a that represents a specified number of milliseconds.
FromMinutes(double) Returns a that represents a specified number of minutes, where the specification is accurate to the nearest millisecond.
FromOADate(double) Returns a equivalent to the specified OLE Automation Date.
FromSeconds(double) Returns a that represents a specified number of seconds, where the specification is accurate to the nearest millisecond.
IEEERemainder(double, double) Returns the remainder resulting from the division of a specified number by another specified number.
In(double, double[]) A T extension method to determines whether the object is equal to any of the provided values.
InRange(double, double, double) A T extension method that check if the value is between inclusively the minValue and maxValue.
IsInfinity(double) Returns a value indicating whether the specified number evaluates to negative or positive infinity.
IsNaN(double) Returns a value that indicates whether the specified value is not a number ().
IsNegativeInfinity(double) Returns a value indicating whether the specified number evaluates to negative infinity.
IsPositiveInfinity(double) Returns a value indicating whether the specified number evaluates to positive infinity.
Log(double) Returns the natural (base e) logarithm of a specified number.
Log(double, double) Returns the logarithm of a specified number in a specified base.
Log10(double) Returns the base 10 logarithm of a specified number.
Max(double, double) Returns the larger of two double-precision floating-point numbers.
Min(double, double) Returns the smaller of two double-precision floating-point numbers.
NotIn(double, double[]) A T extension method to determines whether the object is not equal to any of the provided values.
Pow(double, double) Returns a specified number raised to the specified power.
Round(double) Rounds a double-precision floating-point value to the nearest integral value.
Round(double, int) Rounds a double-precision floating-point value to a specified number of fractional digits.
Round(double, MidpointRounding) Rounds a double-precision floating-point value to the nearest integer. A parameter specifies how to round the value if it is midway between two numbers.
Round(double, int, MidpointRounding) Rounds a double-precision floating-point value to a specified number of fractional digits. A parameter specifies how to round the value if it is midway between two numbers.
Sign(double) Returns a value indicating the sign of a double-precision floating-point number.
Sin(double) Returns the sine of the specified angle.
Sinh(double) Returns the hyperbolic sine of the specified angle.
Sqrt(double) Returns the square root of a specified number.
Tan(double) Returns the tangent of the specified angle.
Tanh(double) Returns the hyperbolic tangent of the specified angle.
ToMoney(double) A Double extension method that converts the @this to a money.
Truncate(double) Calculates the integral part of a specified double-precision floating-point number.

UIntPtr Extended Type

UIntPtr Description
Add(UIntPtr, int) Adds an offset to the value of an unsigned pointer.
Subtract(UIntPtr, int) Subtracts an offset from the value of an unsigned pointer.

DateTime Extended Type

DateTime Description
Age(DateTime) A DateTime extension method that ages the given this.
Between(DateTime, DateTime, DateTime) A T extension method that check if the value is between (exclusif) the minValue and maxValue.
ConvertTime(DateTime, TimeZoneInfo) Converts a time to the time in a particular time zone.
ConvertTime(DateTime, TimeZoneInfo, TimeZoneInfo) Converts a time from one time zone to another.
ConvertTimeBySystemTimeZoneId(DateTime, string, string) Converts a time from one time zone to another based on time zone identifiers.
ConvertTimeBySystemTimeZoneId(DateTime, string) Converts a time to the time in another time zone based on the time zone's identifier.
ConvertTimeFromUtc(DateTime, TimeZoneInfo) Converts a Coordinated Universal Time (UTC) to the time in a specified time zone.
ConvertTimeToUtc(DateTime) Converts the current date and time to Coordinated Universal Time (UTC).
ConvertTimeToUtc(DateTime, TimeZoneInfo) Converts the time in a specified time zone to Coordinated Universal Time (UTC).
Elapsed(DateTime) A DateTime extension method that elapsed the given datetime.
EndOfDay(DateTime) A DateTime extension method that return a DateTime with the time set to "23:59:59:999". The last moment of the day. Use "DateTime2" column type in sql to keep the precision.
EndOfMonth(DateTime) A DateTime extension method that return a DateTime of the last day of the month with the time set to "23:59:59:999". The last moment of the last day of the month. Use "DateTime2" column type in sql to keep the precision.
EndOfWeek(DateTime, DayOfWeek) A System.DateTime extension method that ends of week.
EndOfYear(DateTime) A DateTime extension method that return a DateTime of the last day of the year with the time set to "23:59:59:999". The last moment of the last day of the year. Use "DateTime2" column type in sql to keep the precision.
FirstDayOfWeek(DateTime) A DateTime extension method that first day of week.
In(DateTime, DateTime[]) A T extension method to determines whether the object is equal to any of the provided values.
InRange(DateTime, DateTime, DateTime) A T extension method that check if the value is between inclusively the minValue and maxValue.
IsAfternoon(DateTime) A DateTime extension method that query if '@this' is afternoon.
IsDateEqual(DateTime, DateTime) A DateTime extension method that query if 'date' is date equal.
IsDaylightSavingTime(DateTime, DaylightTime) Returns a value indicating whether the specified date and time is within the specified daylight saving time period.
IsFuture(DateTime) A DateTime extension method that query if '@this' is in the future.
IsMorning(DateTime) A DateTime extension method that query if '@this' is morning.
IsNow(DateTime) A DateTime extension method that query if '@this' is now.
IsPast(DateTime) A DateTime extension method that query if '@this' is in the past.
IsTimeEqual(DateTime, DateTime) A DateTime extension method that query if 'time' is time equal.
IsToday(DateTime) A DateTime extension method that query if '@this' is today.
IsWeekDay(DateTime) A DateTime extension method that query if '@this' is a week day.
IsWeekendDay(DateTime) A DateTime extension method that query if '@this' is a weekend day.
LastDayOfWeek(DateTime) A DateTime extension method that last day of week.
NotIn(DateTime, DateTime[]) A T extension method to determines whether the object is not equal to any of the provided values.
SetTime(DateTime, int) Sets the time of the current date with minute precision.
SetTime(DateTime, int, int) Sets the time of the current date with minute precision.
SetTime(DateTime, int, int, int) Sets the time of the current date with second precision.
SetTime(DateTime, int, int, int, int) Sets the time of the current date with millisecond precision.
StartOfDay(DateTime) A DateTime extension method that return a DateTime with the time set to "00:00:00:000". The first moment of the day.
StartOfMonth(DateTime) A DateTime extension method that return a DateTime of the first day of the month with the time set to "00:00:00:000". The first moment of the first day of the month.
StartOfWeek(DateTime, DayOfWeek) A DateTime extension method that starts of week.
StartOfYear(DateTime) A DateTime extension method that return a DateTime of the first day of the year with the time set to "00:00:00:000". The first moment of the first day of the year.
ToEpochTimeSpan(DateTime) A DateTime extension method that converts the @this to an epoch time span.
ToFullDateTimeString(DateTime) A DateTime extension method that converts this object to a full date time string.
ToFullDateTimeString(DateTime, string) A DateTime extension method that converts this object to a full date time string.
ToFullDateTimeString(DateTime, CultureInfo) A DateTime extension method that converts this object to a full date time string.
ToLongDateShortTimeString(DateTime) A DateTime extension method that converts this object to a long date short time string.
ToLongDateShortTimeString(DateTime, string) A DateTime extension method that converts this object to a long date short time string.
ToLongDateShortTimeString(DateTime, CultureInfo) A DateTime extension method that converts this object to a long date short time string.
ToLongDateString(DateTime) A DateTime extension method that converts this object to a long date string.
ToLongDateString(DateTime, string) A DateTime extension method that converts this object to a long date string.
ToLongDateString(DateTime, CultureInfo) A DateTime extension method that converts this object to a long date string.
ToLongDateTimeString(DateTime) A DateTime extension method that converts this object to a long date time string.
ToLongDateTimeString(DateTime, string) A DateTime extension method that converts this object to a long date time string.
ToLongDateTimeString(DateTime, CultureInfo) A DateTime extension method that converts this object to a long date time string.
ToLongTimeString(DateTime) A DateTime extension method that converts this object to a long time string.
ToLongTimeString(DateTime, string) A DateTime extension method that converts this object to a long time string.
ToLongTimeString(DateTime, CultureInfo) A DateTime extension method that converts this object to a long time string.
ToMonthDayString(DateTime) A DateTime extension method that converts this object to a month day string.
ToMonthDayString(DateTime, string) A DateTime extension method that converts this object to a month day string.
ToMonthDayString(DateTime, CultureInfo) A DateTime extension method that converts this object to a month day string.
Tomorrow(DateTime) A DateTime extension method that tomorrows the given this.
ToRFC1123String(DateTime) A DateTime extension method that converts this object to a rfc 1123 string.
ToRFC1123String(DateTime, string) A DateTime extension method that converts this object to a rfc 1123 string.
ToRFC1123String(DateTime, CultureInfo) A DateTime extension method that converts this object to a rfc 1123 string.
ToShortDateLongTimeString(DateTime) A DateTime extension method that converts this object to a short date long time string.
ToShortDateLongTimeString(DateTime, string) A DateTime extension method that converts this object to a short date long time string.
ToShortDateLongTimeString(DateTime, CultureInfo) A DateTime extension method that converts this object to a short date long time string.
ToShortDateString(DateTime) A DateTime extension method that converts this object to a short date string.
ToShortDateString(DateTime, string) A DateTime extension method that converts this object to a short date string.
ToShortDateString(DateTime, CultureInfo) A DateTime extension method that converts this object to a short date string.
ToShortDateTimeString(DateTime) A DateTime extension method that converts this object to a short date time string.
ToShortDateTimeString(DateTime, string) A DateTime extension method that converts this object to a short date time string.
ToShortDateTimeString(DateTime, CultureInfo) A DateTime extension method that converts this object to a short date time string.
ToShortTimeString(DateTime) A DateTime extension method that converts this object to a short time string.
ToShortTimeString(DateTime, string) A DateTime extension method that converts this object to a short time string.
ToShortTimeString(DateTime, CultureInfo) A DateTime extension method that converts this object to a short time string.
ToSortableDateTimeString(DateTime) A DateTime extension method that converts this object to a sortable date time string.
ToSortableDateTimeString(DateTime, string) A DateTime extension method that converts this object to a sortable date time string.
ToSortableDateTimeString(DateTime, CultureInfo) A DateTime extension method that converts this object to a sortable date time string.
ToUniversalSortableDateTimeString(DateTime) A DateTime extension method that converts this object to an universal sortable date time string.
ToUniversalSortableDateTimeString(DateTime, string) A DateTime extension method that converts this object to an universal sortable date time string.
ToUniversalSortableDateTimeString(DateTime, CultureInfo) A DateTime extension method that converts this object to an universal sortable date time string.
ToUniversalSortableLongDateTimeString(DateTime) A DateTime extension method that converts this object to an universal sortable long date time string.
ToUniversalSortableLongDateTimeString(DateTime, string) A DateTime extension method that converts this object to an universal sortable long date time string.
ToUniversalSortableLongDateTimeString(DateTime, CultureInfo) A DateTime extension method that converts this object to an universal sortable long date time string.
ToYearMonthString(DateTime) A DateTime extension method that converts this object to a year month string.
ToYearMonthString(DateTime, string) A DateTime extension method that converts this object to a year month string.
ToYearMonthString(DateTime, CultureInfo) A DateTime extension method that converts this object to a year month string.
Yesterday(DateTime) A DateTime extension method that yesterdays the given this.

TimeSpan Extended Type

TimeSpan Description
Ago(TimeSpan) A TimeSpan extension method that substract the specified TimeSpan to the current DateTime.
FromNow(TimeSpan) A TimeSpan extension method that add the specified TimeSpan to the current DateTime.
UtcAgo(TimeSpan) A TimeSpan extension method that substract the specified TimeSpan to the current UTC (Coordinated Universal Time)
UtcFromNow(TimeSpan) A TimeSpan extension method that add the specified TimeSpan to the current UTC (Coordinated Universal Time)

StringBuilder Extended Type

StringBuilder Description
AppendIf(StringBuilder, Func`2, T[])
AppendJoin(StringBuilder, string, IEnumerable`1)
AppendJoin(StringBuilder, string, T[])
AppendLineFormat(StringBuilder, string, object[]) A StringBuilder extension method that appends a line format.
AppendLineFormat(StringBuilder, string, List`1) A StringBuilder extension method that appends a line format.
AppendLineIf(StringBuilder, Func`2, T[])
AppendLineJoin(StringBuilder, string, IEnumerable`1)
AppendLineJoin(StringBuilder, string, object[]) A StringBuilder extension method that appends a line join.
GetIndexAfterNextDoubleQuote(StringBuilder) A StringBuilder extension method that gets index after next double quote.
GetIndexAfterNextDoubleQuote(StringBuilder, bool) A StringBuilder extension method that gets index after next double quote.
GetIndexAfterNextDoubleQuote(StringBuilder, int) A StringBuilder extension method that gets index after next double quote.
GetIndexAfterNextDoubleQuote(StringBuilder, int, bool) A StringBuilder extension method that gets index after next double quote.
GetIndexAfterNextSingleQuote(StringBuilder) Gets index after next single quote.
GetIndexAfterNextSingleQuote(StringBuilder, bool) Gets index after next single quote.
GetIndexAfterNextSingleQuote(StringBuilder, int) Gets index after next single quote.
GetIndexAfterNextSingleQuote(StringBuilder, int, bool) Gets index after next single quote.
Substring(StringBuilder, int) A StringBuilder extension method that substrings.
Substring(StringBuilder, int, int) A StringBuilder extension method that substrings.

Object Extended Type

Object Description
As(object) An object extension method that cast anonymous type to the specified type.
AsOrDefault(object) An object extension method that converts the @this to an or default.
AsOrDefault(object, T) An object extension method that converts the @this to an or default.
AsOrDefault(object, Func`1)
AsOrDefault(object, Func`2)
ChangeType(object, TypeCode) Returns an object of the specified type whose value is equivalent to the specified object.
ChangeType(object, TypeCode, IFormatProvider) Returns an object of the specified type whose value is equivalent to the specified object. A parameter supplies culture-specific formatting information.
ChangeType(object, Type) Returns an object of the specified type and whose value is equivalent to the specified object.
ChangeType(object, Type, IFormatProvider) Returns an object of the specified type whose value is equivalent to the specified object. A parameter supplies culture-specific formatting information.
ChangeType(object) Returns an object of the specified type and whose value is equivalent to the specified object.
ChangeType(object, IFormatProvider) Returns an object of the specified type whose value is equivalent to the specified object. A parameter supplies culture-specific formatting information.
GetTypeCode(object) Returns the for the specified object.
IsAssignableFrom(object) An object extension method that query if '@this' is assignable from.
IsAssignableFrom(object, Type) An object extension method that query if '@this' is assignable from.
IsValidBoolean(object) An object extension method that query if '@this' is valid bool.
IsValidByte(object) An object extension method that query if '@this' is valid byte.
IsValidChar(object) An object extension method that query if '@this' is valid char.
IsValidDateTime(object) An object extension method that query if '@this' is valid System.DateTime.
IsValidDateTimeOffSet(object) An object extension method that query if '@this' is valid System.DateTimeOffset.
IsValidDecimal(object) An object extension method that query if '@this' is valid decimal.
IsValidDouble(object) An object extension method that query if '@this' is valid double.
IsValidFloat(object) An object extension method that query if '@this' is valid float.
IsValidGuid(object) An object extension method that query if '@this' is valid System.Guid.
IsValidInt16(object) An object extension method that query if '@this' is valid short.
IsValidInt32(object) An object extension method that query if '@this' is valid int.
IsValidInt64(object) An object extension method that query if '@this' is valid long.
IsValidLong(object) An object extension method that query if '@this' is valid long.
IsValidSByte(object) An object extension method that query if '@this' is valid sbyte.
IsValidShort(object) An object extension method that query if '@this' is valid short.
IsValidSingle(object) An object extension method that query if '@this' is valid float.
IsValidString(object) An object extension method that query if '@this' is valid string.
IsValidUInt16(object) An object extension method that query if '@this' is valid ushort.
IsValidUInt32(object) An object extension method that query if '@this' is valid uint.
IsValidUInt64(object) An object extension method that query if '@this' is valid ulong.
IsValidULong(object) An object extension method that query if '@this' is valid ulong.
IsValidUShort(object) An object extension method that query if '@this' is valid ushort.
ReferenceEquals(object, object) Determines whether the specified instances are the same instance.
To(object) A System.Object extension method that toes the given this.
To(object, Type) A System.Object extension method that toes the given this.
ToBoolean(object) An object extension method that converts the @this to a boolean.
ToBooleanOrDefault(object) An object extension method that converts this object to a boolean or default.
ToBooleanOrDefault(object, bool) An object extension method that converts this object to a boolean or default.
ToBooleanOrDefault(object, Func`1) An object extension method that converts this object to a boolean or default.
ToByte(object) An object extension method that converts the @this to a byte.
ToByteOrDefault(object) An object extension method that converts this object to a byte or default.
ToByteOrDefault(object, byte) An object extension method that converts this object to a byte or default.
ToByteOrDefault(object, Func`1) An object extension method that converts this object to a byte or default.
ToChar(object) An object extension method that converts the @this to a character.
ToCharOrDefault(object) An object extension method that converts this object to a character or default.
ToCharOrDefault(object, char) An object extension method that converts this object to a character or default.
ToCharOrDefault(object, Func`1) An object extension method that converts this object to a character or default.
ToDateTime(object) An object extension method that converts the @this to a date time.
ToDateTimeOffSet(object) An object extension method that converts the @this to a date time off set.
ToDateTimeOffSetOrDefault(object) An object extension method that converts this object to a date time off set or default.
ToDateTimeOffSetOrDefault(object, DateTimeOffset) An object extension method that converts this object to a date time off set or default.
ToDateTimeOffSetOrDefault(object, Func`1) An object extension method that converts this object to a date time off set or default.
ToDateTimeOrDefault(object) An object extension method that converts this object to a date time or default.
ToDateTimeOrDefault(object, DateTime) An object extension method that converts this object to a date time or default.
ToDateTimeOrDefault(object, Func`1) An object extension method that converts this object to a date time or default.
ToDecimal(object) An object extension method that converts the @this to a decimal.
ToDecimalOrDefault(object) An object extension method that converts this object to a decimal or default.
ToDecimalOrDefault(object, decimal) An object extension method that converts this object to a decimal or default.
ToDecimalOrDefault(object, Func`1) An object extension method that converts this object to a decimal or default.
ToDouble(object) An object extension method that converts the @this to a double.
ToDoubleOrDefault(object) An object extension method that converts this object to a double or default.
ToDoubleOrDefault(object, double) An object extension method that converts this object to a double or default.
ToDoubleOrDefault(object, Func`1) An object extension method that converts this object to a double or default.
ToFloat(object) An object extension method that converts the @this to a float.
ToFloatOrDefault(object) An object extension method that converts this object to a float or default.
ToFloatOrDefault(object, float) An object extension method that converts this object to a float or default.
ToFloatOrDefault(object, Func`1) An object extension method that converts this object to a float or default.
ToGuid(object) An object extension method that converts the @this to a unique identifier.
ToGuidOrDefault(object, Guid) An object extension method that converts this object to a unique identifier or default.
ToGuidOrDefault(object, Func`1) An object extension method that converts this object to a unique identifier or default.
ToGuidOrDefault(object) An object extension method that converts this object to a unique identifier or default.
ToInt16(object) An object extension method that converts the @this to an int 16.
ToInt16OrDefault(object) An object extension method that converts this object to an int 16 or default.
ToInt16OrDefault(object, short) An object extension method that converts this object to an int 16 or default.
ToInt16OrDefault(object, Func`1) An object extension method that converts this object to an int 16 or default.
ToInt32(object) An object extension method that converts the @this to an int 32.
ToInt32OrDefault(object) An object extension method that converts this object to an int 32 or default.
ToInt32OrDefault(object, int) An object extension method that converts this object to an int 32 or default.
ToInt32OrDefault(object, Func`1) An object extension method that converts this object to an int 32 or default.
ToInt64(object) An object extension method that converts the @this to an int 64.
ToInt64OrDefault(object) An object extension method that converts this object to an int 64 or default.
ToInt64OrDefault(object, long) An object extension method that converts this object to an int 64 or default.
ToInt64OrDefault(object, Func`1) An object extension method that converts this object to an int 64 or default.
ToLong(object) An object extension method that converts the @this to a long.
ToLongOrDefault(object) An object extension method that converts this object to a long or default.
ToLongOrDefault(object, long) An object extension method that converts this object to a long or default.
ToLongOrDefault(object, Func`1) An object extension method that converts this object to a long or default.
ToNullableBoolean(object) An object extension method that converts the @this to a nullable boolean.
ToNullableBooleanOrDefault(object) An object extension method that converts this object to a nullable boolean or default.
ToNullableBooleanOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable boolean or default.
ToNullableBooleanOrDefault(object, Func`1) An object extension method that converts this object to a nullable boolean or default.
ToNullableByte(object) An object extension method that converts the @this to a nullable byte.
ToNullableByteOrDefault(object) An object extension method that converts this object to a nullable byte or default.
ToNullableByteOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable byte or default.
ToNullableByteOrDefault(object, Func`1) An object extension method that converts this object to a nullable byte or default.
ToNullableChar(object) An object extension method that converts the @this to a nullable character.
ToNullableCharOrDefault(object) An object extension method that converts this object to a nullable character or default.
ToNullableCharOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable character or default.
ToNullableCharOrDefault(object, Func`1) An object extension method that converts this object to a nullable character or default.
ToNullableDateTime(object) An object extension method that converts the @this to a nullable date time.
ToNullableDateTimeOffSet(object) An object extension method that converts the @this to a nullable date time off set.
ToNullableDateTimeOffSetOrDefault(object) An object extension method that converts this object to a nullable date time off set or default.
ToNullableDateTimeOffSetOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable date time off set or default.
ToNullableDateTimeOffSetOrDefault(object, Func`1) An object extension method that converts this object to a nullable date time off set or default.
ToNullableDateTimeOrDefault(object) An object extension method that converts this object to a nullable date time or default.
ToNullableDateTimeOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable date time or default.
ToNullableDateTimeOrDefault(object, Func`1) An object extension method that converts this object to a nullable date time or default.
ToNullableDecimal(object) An object extension method that converts the @this to a nullable decimal.
ToNullableDecimalOrDefault(object) An object extension method that converts this object to a nullable decimal or default.
ToNullableDecimalOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable decimal or default.
ToNullableDecimalOrDefault(object, Func`1) An object extension method that converts this object to a nullable decimal or default.
ToNullableDouble(object) An object extension method that converts the @this to a nullable double.
ToNullableDoubleOrDefault(object) An object extension method that converts this object to a nullable double or default.
ToNullableDoubleOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable double or default.
ToNullableDoubleOrDefault(object, Func`1) An object extension method that converts this object to a nullable double or default.
ToNullableFloat(object) An object extension method that converts the @this to a nullable float.
ToNullableFloatOrDefault(object) An object extension method that converts this object to a nullable float or default.
ToNullableFloatOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable float or default.
ToNullableFloatOrDefault(object, Func`1) An object extension method that converts this object to a nullable float or default.
ToNullableGuid(object) An object extension method that converts the @this to a nullable unique identifier.
ToNullableGuidOrDefault(object) An object extension method that converts this object to a nullable unique identifier or default.
ToNullableGuidOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable unique identifier or default.
ToNullableGuidOrDefault(object, Func`1) An object extension method that converts this object to a nullable unique identifier or default.
ToNullableInt16(object) An object extension method that converts the @this to a nullable int 16.
ToNullableInt16OrDefault(object) An object extension method that converts this object to a nullable int 16 or default.
ToNullableInt16OrDefault(object, Nullable`1) An object extension method that converts this object to a nullable int 16 or default.
ToNullableInt16OrDefault(object, Func`1) An object extension method that converts this object to a nullable int 16 or default.
ToNullableInt32(object) An object extension method that converts the @this to a nullable int 32.
ToNullableInt32OrDefault(object) An object extension method that converts this object to a nullable int 32 or default.
ToNullableInt32OrDefault(object, Nullable`1) An object extension method that converts this object to a nullable int 32 or default.
ToNullableInt32OrDefault(object, Func`1) An object extension method that converts this object to a nullable int 32 or default.
ToNullableInt64(object) An object extension method that converts the @this to a nullable int 64.
ToNullableInt64OrDefault(object, Nullable`1) An object extension method that converts this object to a nullable int 64 or default.
ToNullableInt64OrDefault(object, Func`1) An object extension method that converts this object to a nullable int 64 or default.
ToNullableInt64OrDefault(object) An object extension method that converts this object to a nullable int 64 or default.
ToNullableLong(object) An object extension method that converts the @this to a nullable long.
ToNullableLongOrDefault(object) An object extension method that converts this object to a nullable long or default.
ToNullableLongOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable long or default.
ToNullableLongOrDefault(object, Func`1) An object extension method that converts this object to a nullable long or default.
ToNullableSByte(object) An object extension method that converts the @this to a nullable s byte.
ToNullableSByteOrDefault(object) An object extension method that converts this object to a nullable s byte or default.
ToNullableSByteOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable s byte or default.
ToNullableSByteOrDefault(object, Func`1) An object extension method that converts this object to a nullable s byte or default.
ToNullableShort(object) An object extension method that converts the @this to a nullable short.
ToNullableShortOrDefault(object) An object extension method that converts this object to a nullable short or default.
ToNullableShortOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable short or default.
ToNullableShortOrDefault(object, Func`1) An object extension method that converts this object to a nullable short or default.
ToNullableSingle(object) An object extension method that converts the @this to a nullable single.
ToNullableSingleOrDefault(object) An object extension method that converts this object to a nullable single or default.
ToNullableSingleOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable single or default.
ToNullableSingleOrDefault(object, Func`1) An object extension method that converts this object to a nullable single or default.
ToNullableUInt16(object) An object extension method that converts the @this to a nullable u int 16.
ToNullableUInt16OrDefault(object) An object extension method that converts this object to a nullable u int 16 or default.
ToNullableUInt16OrDefault(object, Nullable`1) An object extension method that converts this object to a nullable u int 16 or default.
ToNullableUInt16OrDefault(object, Func`1) An object extension method that converts this object to a nullable u int 16 or default.
ToNullableUInt32(object) An object extension method that converts the @this to a nullable u int 32.
ToNullableUInt32OrDefault(object) An object extension method that converts this object to a nullable u int 32 or default.
ToNullableUInt32OrDefault(object, Nullable`1) An object extension method that converts this object to a nullable u int 32 or default.
ToNullableUInt32OrDefault(object, Func`1) An object extension method that converts this object to a nullable u int 32 or default.
ToNullableUInt64(object) An object extension method that converts the @this to a nullable u int 64.
ToNullableUInt64OrDefault(object) An object extension method that converts this object to a nullable u int 64 or default.
ToNullableUInt64OrDefault(object, Nullable`1) An object extension method that converts this object to a nullable u int 64 or default.
ToNullableUInt64OrDefault(object, Func`1) An object extension method that converts this object to a nullable u int 64 or default.
ToNullableULong(object) An object extension method that converts the @this to a nullable u long.
ToNullableULongOrDefault(object) An object extension method that converts this object to a nullable u long or default.
ToNullableULongOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable u long or default.
ToNullableULongOrDefault(object, Func`1) An object extension method that converts this object to a nullable u long or default.
ToNullableUShort(object) An object extension method that converts the @this to a nullable u short.
ToNullableUShortOrDefault(object) An object extension method that converts this object to a nullable u short or default.
ToNullableUShortOrDefault(object, Nullable`1) An object extension method that converts this object to a nullable u short or default.
ToNullableUShortOrDefault(object, Func`1) An object extension method that converts this object to a nullable u short or default.
ToOrDefault(object, Func`2)
ToOrDefault(object, Func`1)
ToOrDefault(object) A System.Object extension method that converts this object to an or default.
ToOrDefault(object, T) A System.Object extension method that converts this object to an or default.
ToSByte(object) An object extension method that converts the @this to the s byte.
ToSByteOrDefault(object) An object extension method that converts this object to the s byte or default.
ToSByteOrDefault(object, sbyte) An object extension method that converts this object to the s byte or default.
ToSByteOrDefault(object, Func`1) An object extension method that converts this object to the s byte or default.
ToShort(object) An object extension method that converts the @this to a short.
ToShortOrDefault(object) An object extension method that converts this object to a short or default.
ToShortOrDefault(object, short) An object extension method that converts this object to a short or default.
ToShortOrDefault(object, Func`1) An object extension method that converts this object to a short or default.
ToSingle(object) An object extension method that converts the @this to a single.
ToSingleOrDefault(object) An object extension method that converts this object to a single or default.
ToSingleOrDefault(object, float) An object extension method that converts this object to a single or default.
ToSingleOrDefault(object, Func`1) An object extension method that converts this object to a single or default.
ToString(object) An object extension method that convert this object into a string representation.
ToStringOrDefault(object) An object extension method that converts this object to a string or default.
ToStringOrDefault(object, string) An object extension method that converts this object to a string or default.
ToStringOrDefault(object, Func`1) An object extension method that converts this object to a string or default.
ToStringSafe(object) An object extension method that converts the @this to string or return an empty string if the value is null.
ToUInt16(object) An object extension method that converts the @this to an u int 16.
ToUInt16OrDefault(object) An object extension method that converts this object to an u int 16 or default.
ToUInt16OrDefault(object, ushort) An object extension method that converts this object to an u int 16 or default.
ToUInt16OrDefault(object, Func`1) An object extension method that converts this object to an u int 16 or default.
ToUInt32(object) An object extension method that converts the @this to an u int 32.
ToUInt32OrDefault(object) An object extension method that converts this object to an u int 32 or default.
ToUInt32OrDefault(object, uint) An object extension method that converts this object to an u int 32 or default.
ToUInt32OrDefault(object, Func`1) An object extension method that converts this object to an u int 32 or default.
ToUInt64(object) An object extension method that converts the @this to an u int 64.
ToUInt64OrDefault(object, ulong) An object extension method that converts this object to an u int 64 or default.
ToUInt64OrDefault(object, Func`1) An object extension method that converts this object to an u int 64 or default.
ToUInt64OrDefault(object) An object extension method that converts this object to an u int 64 or default.
ToULong(object) An object extension method that converts the @this to an u long.
ToULongOrDefault(object) An object extension method that converts this object to an u long or default.
ToULongOrDefault(object, ulong) An object extension method that converts this object to an u long or default.
ToULongOrDefault(object, Func`1) An object extension method that converts this object to an u long or default.
ToUShort(object) An object extension method that converts the @this to an u short.
ToUShortOrDefault(object) An object extension method that converts this object to an u short or default.
ToUShortOrDefault(object, ushort) An object extension method that converts this object to an u short or default.
ToUShortOrDefault(object, Func`1) An object extension method that converts this object to an u short or default.

UInt16 Extended Type

UInt16 Description
Between(ushort, ushort, ushort) A T extension method that check if the value is between (exclusif) the minValue and maxValue.
In(ushort, ushort[]) A T extension method to determines whether the object is equal to any of the provided values.
InRange(ushort, ushort, ushort) A T extension method that check if the value is between inclusively the minValue and maxValue.
Max(ushort, ushort) Returns the larger of two 16-bit unsigned integers.
Min(ushort, ushort) Returns the smaller of two 16-bit unsigned integers.
NotIn(ushort, ushort[]) A T extension method to determines whether the object is not equal to any of the provided values.

UInt32 Extended Type

UInt32 Description
Between(uint, uint, uint) A T extension method that check if the value is between (exclusif) the minValue and maxValue.
In(uint, uint[]) A T extension method to determines whether the object is equal to any of the provided values.
InRange(uint, uint, uint) A T extension method that check if the value is between inclusively the minValue and maxValue.
Max(uint, uint) Returns the larger of two 32-bit unsigned integers.
Min(uint, uint) Returns the smaller of two 32-bit unsigned integers.
NotIn(uint, uint[]) A T extension method to determines whether the object is not equal to any of the provided values.

UInt64 Extended Type

UInt64 Description
Between(ulong, ulong, ulong) A T extension method that check if the value is between (exclusif) the minValue and maxValue.
In(ulong, ulong[]) A T extension method to determines whether the object is equal to any of the provided values.
InRange(ulong, ulong, ulong) A T extension method that check if the value is between inclusively the minValue and maxValue.
Max(ulong, ulong) Returns the larger of two 64-bit unsigned integers.
Min(ulong, ulong) Returns the smaller of two 64-bit unsigned integers.
NotIn(ulong, ulong[]) A T extension method to determines whether the object is not equal to any of the provided values.

T Extended Type

T Description
Between(T, T, T) A T extension method that check if the value is between (exclusif) the minValue and maxValue.
Chain(T, Action`1)
Coalesce(T, T[])
CoalesceOrDefault(T, T[])
CoalesceOrDefault(T, Func`1, T[])
CoalesceOrDefault(T, Func`2, T[])
DeepClone(T) A T extension method that makes a deep copy of '@this' object.
GetValueOrDefault(T, Func`2)
GetValueOrDefault(T, Func`2, TResult)
GetValueOrDefault(T, Func`2, Func`1)
GetValueOrDefault(T, Func`2, Func`2)
IfNotNull(T, Action`1)
IfNotNull(T, Func`2)
IfNotNull(T, Func`2, TResult)
IfNotNull(T, Func`2, Func`1)
In(T, T[])
InRange(T, T, T) A T extension method that check if the value is between inclusively the minValue and maxValue.
IsDBNull(T) Returns an indication whether the specified object is of type .
IsDefault(T) A T extension method that query if 'source' is the default value.
IsNotNull(T) A T extension method that query if '@this' is not null.
IsNull(T) A T extension method that query if '@this' is null.
NotIn(T, T[])
NullIf(T, Func`2)
NullIfEquals(T, T) A T extension method that null if equals.
NullIfEqualsAny(T, T[])
ShallowCopy(T) A T extension method that shallow copy.

DateTimeOffset Extended Type

DateTimeOffset Description
Between(DateTimeOffset, DateTimeOffset, DateTimeOffset) A T extension method that check if the value is between (exclusif) the minValue and maxValue.
ConvertTime(DateTimeOffset, TimeZoneInfo) Converts a time to the time in a particular time zone.
ConvertTimeBySystemTimeZoneId(DateTimeOffset, string) Converts a time to the time in another time zone based on the time zone's identifier.
In(DateTimeOffset, DateTimeOffset[]) A T extension method to determines whether the object is equal to any of the provided values.
InRange(DateTimeOffset, DateTimeOffset, DateTimeOffset) A T extension method that check if the value is between inclusively the minValue and maxValue.
NotIn(DateTimeOffset, DateTimeOffset[]) A T extension method to determines whether the object is not equal to any of the provided values.
SetTime(DateTimeOffset, int) Sets the time of the current date with minute precision.
SetTime(DateTimeOffset, int, int) Sets the time of the current date with minute precision.
SetTime(DateTimeOffset, int, int, int) Sets the time of the current date with second precision.
SetTime(DateTimeOffset, int, int, int, int) Sets the time of the current date with millisecond precision.

Array Extended Type

Array Description
BinarySearch(Array, object) Searches an entire one-dimensional sorted for a specific element, using the interface implemented by each element of the and by the specified object.
BinarySearch(Array, int, int, object) Searches a range of elements in a one-dimensional sorted for a value, using the interface implemented by each element of the and by the specified value.
BinarySearch(Array, object, IComparer) Searches an entire one-dimensional sorted for a value using the specified interface.
BinarySearch(Array, int, int, object, IComparer) Searches a range of elements in a one-dimensional sorted for a value, using the specified interface.
BlockCopy(Array, int, Array, int, int) Copies a specified number of bytes from a source array starting at a particular offset to a destination array starting at a particular offset.
ByteLength(Array) Returns the number of bytes in the specified array.
Clear(Array, int, int) Sets a range of elements in the to zero, to false, or to null, depending on the element type.
ClearAll(Array) An Array extension method that clears the array.
ConstrainedCopy(Array, int, Array, int, int) Copies a range of elements from an starting at the specified source index and pastes them to another starting at the specified destination index. Guarantees that all changes are undone if the copy does not succeed completely.
Copy(Array, Array, int) Copies a range of elements from an starting at the first element and pastes them into another starting at the first element. The length is specified as a 32-bit integer.
Copy(Array, int, Array, int, int) Copies a range of elements from an starting at the specified source index and pastes them to another starting at the specified destination index. The length and the indexes are specified as 32-bit integers.
Copy(Array, Array, long) Copies a range of elements from an starting at the first element and pastes them into another starting at the first element. The length is specified as a 64-bit integer.
Copy(Array, long, Array, long, long) Copies a range of elements from an starting at the specified source index and pastes them to another starting at the specified destination index. The length and the indexes are specified as 64-bit integers.
GetByte(Array, int) Retrieves the byte at a specified location in a specified array.
IndexOf(Array, object) Searches for the specified object and returns the index of the first occurrence within the entire one- dimensional .
IndexOf(Array, object, int) Searches for the specified object and returns the index of the first occurrence within the range of elements in the one-dimensional that extends from the specified index to the last element.
IndexOf(Array, object, int, int) Searches for the specified object and returns the index of the first occurrence within the range of elements in the one-dimensional that starts at the specified index and contains the specified number of elements.
LastIndexOf(Array, object) Searches for the specified object and returns the index of the last occurrence within the entire one- dimensional .
LastIndexOf(Array, object, int) Searches for the specified object and returns the index of the last occurrence within the range of elements in the one-dimensional that extends from the first element to the specified index.
LastIndexOf(Array, object, int, int) Searches for the specified object and returns the index of the last occurrence within the range of elements in the one-dimensional that contains the specified number of elements and ends at the specified index.
Reverse(Array) Reverses the sequence of the elements in the entire one-dimensional .
Reverse(Array, int, int) Reverses the sequence of the elements in a range of elements in the one-dimensional .
SetByte(Array, int, byte) Assigns a specified value to a byte at a particular location in a specified array.
Sort(Array) Sorts the elements in an entire one-dimensional using the implementation of each element of the .
Sort(Array, Array) Sorts a pair of one-dimensional objects (one contains the keys and the other contains the corresponding items) based on the keys in the first using the implementation of each key.
Sort(Array, int, int) Sorts the elements in a range of elements in a one-dimensional using the implementation of each element of the .
Sort(Array, Array, int, int) Sorts a range of elements in a pair of one-dimensional objects (one contains the keys and the other contains the corresponding items) based on the keys in the first using the implementation of each key.
Sort(Array, IComparer) Sorts the elements in a one-dimensional using the specified .
Sort(Array, Array, IComparer) Sorts a pair of one-dimensional objects (one contains the keys and the other contains the corresponding items) based on the keys in the first using the specified .
Sort(Array, int, int, IComparer) Sorts the elements in a range of elements in a one-dimensional using the specified .
Sort(Array, Array, int, int, IComparer) Sorts a range of elements in a pair of one-dimensional objects (one contains the keys and the other contains the corresponding items) based on the keys in the first using the specified .
WithinIndex(Array, int) An Array extension method that check if the array is lower then the specified index.
WithinIndex(Array, int, int) An Array extension method that check if the array is lower then the specified index.

String Extended Type

String Description
Br2Nl(string) A string extension method that line break 2 newline.
CompareOrdinal(string, string) Compares two specified objects by evaluating the numeric values of the corresponding objects in each string.
CompareOrdinal(string, int, string, int, int) Compares substrings of two specified objects by evaluating the numeric values of the corresponding objects in each substring.
Concat(string, string) Concatenates two specified instances of .
Concat(string, string, string) Concatenates three specified instances of .
Concat(string, string, string, string) Concatenates four specified instances of .
ConcatWith(string, string[]) A string extension method that concatenate with.
Contains(string, string) A string extension method that query if this object contains the given value.
Contains(string, string, StringComparison) A string extension method that query if this object contains the given value.
ContainsAll(string, string[]) A string extension method that query if '@this' contains all values.
ContainsAll(string, StringComparison, string[]) A string extension method that query if this object contains the given @this.
ContainsAny(string, string[]) A string extension method that query if '@this' contains any values.
ContainsAny(string, StringComparison, string[]) A string extension method that query if '@this' contains any values.
ConvertToUtf32(string, int) Converts the value of a UTF-16 encoded character or surrogate pair at a specified position in a string into a Unicode code point.
Copy(string) Creates a new instance of with the same value as a specified .
DecodeBase64(string) A string extension method that decode a Base64 String.
DecryptRSA(string, string) A string extension method that decrypt a string.
EncodeBase64(string) A string extension method that encode the string to Base64.
EncryptRSA(string, string) A string extension method that encrypts the string.
EscapeXml(string) A string extension method that escape XML.
Extract(string, Func`2) A string extension method that extracts this object.
ExtractDecimal(string) A string extension method that extracts the Decimal from the string.
ExtractDouble(string) A string extension method that extracts the Double from the string.
ExtractInt16(string) A string extension method that extracts the Int16 from the string.
ExtractInt32(string) A string extension method that extracts the Int32 from the string.
ExtractInt64(string) A string extension method that extracts the Int64 from the string.
ExtractLetter(string) A string extension method that extracts the letter described by @this.
ExtractManyDecimal(string) A string extension method that extracts all Decimal from the string.
ExtractManyDouble(string) A string extension method that extracts all Double from the string.
ExtractManyInt16(string) A string extension method that extracts all Int16 from the string.
ExtractManyInt32(string) A string extension method that extracts all Int32 from the string.
ExtractManyInt64(string) A string extension method that extracts all Int64 from the string.
ExtractManyUInt16(string) A string extension method that extracts all UInt16 from the string.
ExtractManyUInt32(string) A string extension method that extracts all UInt32 from the string.
ExtractManyUInt64(string) A string extension method that extracts all UInt64 from the string.
ExtractNumber(string) A string extension method that extracts the number described by @this.
ExtractUInt16(string) A string extension method that extracts the UInt16 from the string.
ExtractUInt32(string) A string extension method that extracts the UInt32 from the string.
ExtractUInt64(string) A string extension method that extracts the UInt64 from the string.
Format(string, object) Replaces one or more format items in a specified string with the string representation of a specified object.
Format(string, object, object) Replaces the format items in a specified string with the string representation of two specified objects.
Format(string, object, object, object) Replaces the format items in a specified string with the string representation of three specified objects.
Format(string, object[]) Replaces the format item in a specified string with the string representation of a corresponding object in a specified array.
FormatWith(string, object) Replaces the format item in a specified String with the text equivalent of the value of a corresponding Object instance in a specified array.
FormatWith(string, object, object) Replaces the format item in a specified String with the text equivalent of the value of a corresponding Object instance in a specified array.
FormatWith(string, object, object, object) Replaces the format item in a specified String with the text equivalent of the value of a corresponding Object instance in a specified array.
FormatWith(string, object[]) Replaces the format item in a specified String with the text equivalent of the value of a corresponding Object instance in a specified array.
GetAfter(string, string) A string extension method that get the string after the specified string.
GetBefore(string, string) A string extension method that get the string before the specified string.
GetBetween(string, string, string) A string extension method that get the string between the two specified string.
GetNumericValue(string, int) Converts the numeric Unicode character at the specified position in a specified string to a double-precision floating point number.
GetUnicodeCategory(string, int) Categorizes the character at the specified position in a specified string into a group identified by one of the values.
HtmlAttributeEncode(string) Minimally converts a string to an HTML-encoded string.
HtmlAttributeEncode(string, TextWriter) Minimally converts a string into an HTML-encoded string and sends the encoded string to a output stream.
HtmlDecode(string) Converts a string that has been HTML-encoded for HTTP transmission into a decoded string.
HtmlDecode(string, TextWriter) Converts a string that has been HTML-encoded into a decoded string, and sends the decoded string to a output stream.
HtmlEncode(string) Converts a string to an HTML-encoded string.
HtmlEncode(string, TextWriter) Converts a string into an HTML-encoded string, and returns the output as a stream of output.
IfEmpty(string, string) A string extension method that if empty.
In(string, string[]) A T extension method to determines whether the object is equal to any of the provided values.
Intern(string) Retrieves the system's reference to the specified .
IsAlpha(string) A string extension method that query if '@this' is Alpha.
IsAlphaNumeric(string) A string extension method that query if '@this' is Alphanumeric.
IsAnagram(string, string) A string extension method that query if '@this' is anagram of other String.
IsControl(string, int) Indicates whether the character at the specified position in a specified string is categorized as a control character.
IsDigit(string, int) Indicates whether the character at the specified position in a specified string is categorized as a decimal digit.
IsEmpty(string) A string extension method that query if '@this' is empty.
IsHighSurrogate(string, int) Indicates whether the object at the specified position in a string is a high surrogate.
IsInterned(string) Retrieves a reference to a specified .
IsLetter(string, int) Indicates whether the character at the specified position in a specified string is categorized as a Unicode letter.
IsLetterOrDigit(string, int) Indicates whether the character at the specified position in a specified string is categorized as a letter or a decimal digit.
IsLike(string, string) A string extension method that query if '@this' satisfy the specified pattern.
IsLower(string, int) Indicates whether the character at the specified position in a specified string is categorized as a lowercase letter.
IsLowSurrogate(string, int) Indicates whether the object at the specified position in a string is a low surrogate.
IsMatch(string, string) Indicates whether the specified regular expression finds a match in the specified input string.
IsMatch(string, string, RegexOptions) Indicates whether the specified regular expression finds a match in the specified input string, using the specified matching options.
IsNotEmpty(string) A string extension method that queries if a not is empty.
IsNotNull(string) A T extension method that query if '@this' is not null.
IsNotNullOrEmpty(string) A string extension method that queries if '@this' is not (null or empty).
IsNotNullOrWhiteSpace(string) Indicates whether a specified string is not null, not empty, or not consists only of white-space characters.
IsNull(string) A T extension method that query if '@this' is null.
IsNullOrEmpty(string) A string extension method that queries if '@this' is null or is empty.
IsNullOrWhiteSpace(string) Indicates whether a specified string is null, empty, or consists only of white-space characters.
IsNumber(string, int) Indicates whether the character at the specified position in a specified string is categorized as a number.
IsNumeric(string) A string extension method that query if '@this' is numeric.
IsPalindrome(string) A string extension method that query if '@this' is palindrome.
IsPunctuation(string, int) Indicates whether the character at the specified position in a specified string is categorized as a punctuation mark.
IsSeparator(string, int) Indicates whether the character at the specified position in a specified string is categorized as a separator character.
IsSurrogate(string, int) Indicates whether the character at the specified position in a specified string has a surrogate code unit.
IsSurrogatePair(string, int) Indicates whether two adjacent objects at a specified position in a string form a surrogate pair.
IsSymbol(string, int) Indicates whether the character at the specified position in a specified string is categorized as a symbol character.
IsUpper(string, int) Indicates whether the character at the specified position in a specified string is categorized as an uppercase letter.
IsValidEmail(string) A string extension method that query if 'obj' is valid email.
IsValidIP(string) A string extension method that query if 'obj' is valid IP.
IsWhiteSpace(string, int) Indicates whether the character at the specified position in a specified string is categorized as white space.
JavaScriptStringEncode(string) Encodes a string.
JavaScriptStringEncode(string, bool) Encodes a string.
Join(string, string[]) Concatenates all the elements of a string array, using the specified separator between each element.
Join(string, object[]) Concatenates the elements of an object array, using the specified separator between each element.
Join(string, IEnumerable`1)
Join(string, IEnumerable`1) Concatenates all the elements of a string array, using the specified separator between each element.
Join(string, string[], int, int) Concatenates the specified elements of a string array, using the specified separator between each element.
Left(string, int) A string extension method that return the left part of the string.
LeftSafe(string, int) A string extension method that left safe.
Match(string, string) Searches the specified input string for the first occurrence of the specified regular expression.
Match(string, string, RegexOptions) Searches the input string for the first occurrence of the specified regular expression, using the specified matching options.
Matches(string, string) Searches the specified input string for all occurrences of a specified regular expression.
Matches(string, string, RegexOptions) Searches the specified input string for all occurrences of a specified regular expression, using the specified matching options.
Nl2Br(string) A string extension method that newline 2 line break.
NotIn(string, string[]) A T extension method to determines whether the object is not equal to any of the provided values.
NullIfEmpty(string) A string extension method that return null if the value is empty else the value.
ParseQueryString(string) Parses a query string into a using encoding.
ParseQueryString(string, Encoding) Parses a query string into a using the specified .
PathCombine(string, string[]) Combines multiples string into a path.
RemoveDiacritics(string) A string extension method that removes the diacritics character from the strings.
RemoveLetter(string) A string extension method that removes the letter described by @this.
RemoveNumber(string) A string extension method that removes the number described by @this.
RemoveWhere(string, Func`2) A string extension method that removes the letter.
Repeat(string, int) A string extension method that repeats the string a specified number of times.
Replace(string, int, int, string) A string extension method that replaces.
ReplaceByEmpty(string, string[]) A string extension method that replace all values specified by an empty string.
ReplaceFirst(string, string, string) A string extension method that replace first occurence.
ReplaceFirst(string, int, string, string) A string extension method that replace first number of occurences.
ReplaceLast(string, string, string) A string extension method that replace last occurence.
ReplaceLast(string, int, string, string) A string extension method that replace last numbers occurences.
ReplaceWhenEquals(string, string, string) A string extension method that replace when equals.
Reverse(string) A string extension method that reverses the given string.
Right(string, int) A string extension method that return the right part of the string.
RightSafe(string, int) A string extension method that right safe.
SaveAs(string, string, bool) A string extension method that save the string into a file.
SaveAs(string, FileInfo, bool) A string extension method that save the string into a file.
Split(string, string, StringSplitOptions) Returns a String array containing the substrings in this string that are delimited by elements of a specified String array. A parameter specifies whether to return empty array elements.
StripHtml(string) A string extension method that strip HTML.
ToByteArray(string) A string extension method that converts the @this to a byte array.
ToDirectoryInfo(string) A string extension method that converts the @this to a directory information.
ToEnum(string) A string extension method that converts the @this to an enum.
ToFileInfo(string) A string extension method that converts the @this to a file information.
ToMemoryStream(string) A string extension method that converts the @this to a MemoryStream.
ToPlural(string) A string extension method that converts the @this to a plural.
ToPlural(string, CultureInfo) A string extension method that converts the @this to a plural.
ToSecureString(string) A String extension method that converts the @this to a secure string.
ToTitleCase(string) A string extension method that converts the @this to a title case.
ToTitleCase(string, CultureInfo) A string extension method that converts the @this to a title case.
ToXDocument(string) A string extension method that converts the @this to a XDocument.
ToXmlDocument(string) A string extension method that converts the @this to an XmlDocument.
Truncate(string, int) A string extension method that truncates.
Truncate(string, int, string) A string extension method that truncates.
UrlDecode(string) Converts a string that has been encoded for transmission in a URL into a decoded string.
UrlDecode(string, Encoding) Converts a URL-encoded string into a decoded string, using the specified encoding object.
UrlDecodeToBytes(string) Converts a URL-encoded string into a decoded array of bytes.
UrlDecodeToBytes(string, Encoding) Converts a URL-encoded string into a decoded array of bytes using the specified decoding object.
UrlEncode(string) Encodes a URL string.
UrlEncode(string, Encoding) Encodes a URL string using the specified encoding object.
UrlEncodeToBytes(string) Converts a string into a URL-encoded array of bytes.
UrlEncodeToBytes(string, Encoding) Converts a string into a URL-encoded array of bytes using the specified encoding object.
UrlPathEncode(string) Encodes the path portion of a URL string for reliable HTTP transmission from the Web server to a client.

Random Extended Type

Random Description
CoinToss(Random) A Random extension method that flip a coin toss.
OneOf(Random, T[])

Delegate Extended Type

Delegate Description
Combine(Delegate, Delegate) Concatenates the invocation lists of two delegates.
Remove(Delegate, Delegate) Removes the last occurrence of the invocation list of a delegate from the invocation list of another delegate.
RemoveAll(Delegate, Delegate) Removes all occurrences of the invocation list of a delegate from the invocation list of another delegate.

IEnumerable`1 Extended Type

IEnumerable`1 Description
Concatenate(IEnumerable`1) An IEnumerable extension method that concatenates the given this.
Concatenate(IEnumerable`1, Func`2)

Char Extended Type

Char Description
ConvertToUtf32(char, char) Converts the value of a UTF-16 encoded surrogate pair into a Unicode code point.
GetNumericValue(char) Converts the specified numeric Unicode character to a double-precision floating point number.
GetUnicodeCategory(char) Categorizes a specified Unicode character into a group identified by one of the values.
In(char, char[]) A T extension method to determines whether the object is equal to any of the provided values.
IsControl(char) Indicates whether the specified Unicode character is categorized as a control character.
IsDigit(char) Indicates whether the specified Unicode character is categorized as a decimal digit.
IsHighSurrogate(char) Indicates whether the specified object is a high surrogate.
IsLetter(char) Indicates whether the specified Unicode character is categorized as a Unicode letter.
IsLetterOrDigit(char) Indicates whether the specified Unicode character is categorized as a letter or a decimal digit.
IsLower(char) Indicates whether the specified Unicode character is categorized as a lowercase letter.
IsLowSurrogate(char) Indicates whether the specified object is a low surrogate.
IsNumber(char) Indicates whether the specified Unicode character is categorized as a number.
IsPunctuation(char) Indicates whether the specified Unicode character is categorized as a punctuation mark.
IsSeparator(char) Indicates whether the specified Unicode character is categorized as a separator character.
IsSurrogate(char) Indicates whether the specified character has a surrogate code unit.
IsSurrogatePair(char, char) Indicates whether the two specified objects form a surrogate pair.
IsSymbol(char) Indicates whether the specified Unicode character is categorized as a symbol character.
IsUpper(char) Indicates whether the specified Unicode character is categorized as an uppercase letter.
IsWhiteSpace(char) Indicates whether the specified Unicode character is categorized as white space.
NotIn(char, char[]) A T extension method to determines whether the object is not equal to any of the provided values.
Repeat(char, int) A char extension method that repeats a character the specified number of times.
To(char, char) Enumerates from @this to toCharacter.
ToLower(char, CultureInfo) Converts the value of a specified Unicode character to its lowercase equivalent using specified culture- specific formatting information.
ToLower(char) Converts the value of a Unicode character to its lowercase equivalent.
ToLowerInvariant(char) Converts the value of a Unicode character to its lowercase equivalent using the casing rules of the invariant culture.
ToString(char) Converts the specified Unicode character to its equivalent string representation.
ToUpper(char, CultureInfo) Converts the value of a specified Unicode character to its uppercase equivalent using specified culture- specific formatting information.
ToUpper(char) Converts the value of a Unicode character to its uppercase equivalent.
ToUpperInvariant(char) Converts the value of a Unicode character to its uppercase equivalent using the casing rules of the invariant culture.

Type Extended Type

Type Description
CreateInstance(Type) Creates an instance of the specified type using that type's default constructor.
CreateInstance(Type, bool) Creates an instance of the specified type using that type's default constructor.
CreateInstance(Type, BindingFlags, Binder, object[], CultureInfo) A Type extension method that creates an instance.
CreateInstance(Type, BindingFlags, Binder, object[], CultureInfo, object[]) A Type extension method that creates an instance.
CreateInstance(Type, object[]) A Type extension method that creates an instance.
CreateInstance(Type, object[], object[]) A Type extension method that creates an instance.
CreateInstance(Type) A Type extension method that creates an instance.
CreateInstance(Type, bool) A Type extension method that creates an instance.
CreateInstance(Type, BindingFlags, Binder, object[], CultureInfo) Creates an instance of the specified type using the constructor that best matches the specified parameters.
CreateInstance(Type, BindingFlags, Binder, object[], CultureInfo, object[]) Creates an instance of the specified type using the constructor that best matches the specified parameters.
CreateInstance(Type, object[]) Creates an instance of the specified type using the constructor that best matches the specified parameters.
CreateInstance(Type, object[], object[]) Creates an instance of the specified type using the constructor that best matches the specified parameters.
GetObject(Type, string) Creates a proxy for the well-known object indicated by the specified type and URL.
GetObject(Type, string, object) Creates a proxy for the well-known object indicated by the specified type, URL, and channel data.

Enum Extended Type

Enum Description
GetCustomAttributeDescription(enum) An object extension method that gets description attribute.
In(enum, enum[]) A T extension method to determines whether the object is equal to any of the provided values.
NotIn(enum, enum[]) A T extension method to determines whether the object is not equal to any of the provided values.

SpecialFolder Extended Type

SpecialFolder Description
GetFolderPath(SpecialFolder) An Environment.SpecialFolder extension method that gets folder path.
GetFolderPath(SpecialFolder, SpecialFolderOption) An Environment.SpecialFolder extension method that gets folder path.

Object[] Extended Type

Object[] Description
GetTypeArray(object[]) Gets the types of the objects in the specified array.

Boolean Extended Type

Boolean Description
IfFalse(bool, Action) A bool extension method that execute an Action if the value is false.
IfTrue(bool, Action) A bool extension method that execute an Action if the value is true.
ToBinary(bool) A bool extension method that convert this object into a binary representation.
ToString(bool, string, string) A bool extension method that show the trueValue when the @this value is true; otherwise show the falseValue.

Guid Extended Type

Guid Description
In(Guid, Guid[]) A T extension method to determines whether the object is equal to any of the provided values.
IsEmpty(Guid) A GUID extension method that query if '@this' is empty.
IsNotEmpty(Guid) A GUID extension method that queries if a not is empty.
NotIn(Guid, Guid[]) A T extension method to determines whether the object is not equal to any of the provided values.

Byte Extended Type

Byte Description
Max(byte, byte) Returns the larger of two 8-bit unsigned integers.
Min(byte, byte) Returns the smaller of two 8-bit unsigned integers.

EventHandler Extended Type

EventHandler Description
Raise(EventHandler, object, EventArgs) An EventHandler extension method that raises.
RaiseEvent(EventHandler, object) An EventHandler extension method that raises the event event.

EventHandler`1 Extended Type

EventHandler`1 Description
RaiseEvent(EventHandler`1, object)
RaiseEvent(EventHandler`1, object, TEventArgs)

Byte[] Extended Type

Byte[] Description
Resize(byte[], int) A byte[] extension method that resizes the byte[].
ToBase64CharArray(byte[], int, int, char[], int) Converts a subset of an 8-bit unsigned integer array to an equivalent subset of a Unicode character array encoded with base-64 digits. Parameters specify the subsets as offsets in the input and output arrays, and the number of elements in the input array to convert.
ToBase64CharArray(byte[], int, int, char[], int, Base64FormattingOptions) Converts a subset of an 8-bit unsigned integer array to an equivalent subset of a Unicode character array encoded with base-64 digits. Parameters specify the subsets as offsets in the input and output arrays, the number of elements in the input array to convert, and whether line breaks are inserted in the output array.
ToBase64String(byte[]) Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits.
ToBase64String(byte[], Base64FormattingOptions) Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. A parameter specifies whether to insert line breaks in the return value.
ToBase64String(byte[], int, int) Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. Parameters specify the subset as an offset in the input array, and the number of elements in the array to convert.
ToBase64String(byte[], int, int, Base64FormattingOptions) Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. Parameters specify the subset as an offset in the input array, the number of elements in the array to convert, and whether to insert line breaks in the return value.
ToImage(byte[]) A byte[] extension method that converts the @this to an image.
ToMemoryStream(byte[]) A byte[] extension method that converts the @this to a memory stream.
UrlDecode(byte[], Encoding) Converts a URL-encoded byte array into a decoded string using the specified decoding object.
UrlDecode(byte[], int, int, Encoding) Converts a URL-encoded byte array into a decoded string using the specified encoding object, starting at the specified position in the array, and continuing for the specified number of bytes.
UrlDecodeToBytes(byte[]) Converts a URL-encoded array of bytes into a decoded array of bytes.
UrlDecodeToBytes(byte[], int, int) Converts a URL-encoded array of bytes into a decoded array of bytes, starting at the specified position in the array and continuing for the specified number of bytes.
UrlEncode(byte[]) Converts a byte array into an encoded URL string.
UrlEncode(byte[], int, int) Converts a byte array into a URL-encoded string, starting at the specified position in the array and continuing for the specified number of bytes.
UrlEncodeToBytes(byte[]) Converts an array of bytes into a URL-encoded array of bytes.
UrlEncodeToBytes(byte[], int, int) Converts an array of bytes into a URL-encoded array of bytes, starting at the specified position in the array and continuing for the specified number of bytes.
UrlTokenEncode(byte[]) Encodes a byte array into its equivalent string representation using base 64 digits, which is usable for transmission on the URL.
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)