Class GeneralExtensions
- Namespace
- Nautilus.Extensions
- Assembly
- Nautilus.dll
Contains extensions that are not exclusively specific to one type.
public static class GeneralExtensions
- Inheritance
-
GeneralExtensions
- Inherited Members
Methods
Add<T>(T[], T)
Adds an object to the end of the Array.
public static void Add<T>(this T[] array, T item)
Parameters
arrayT[]- The array to perform this action on.
itemT- The object to be added to the end of the Array. The value can be null for reference types.
Type Parameters
T
TrimClone(string)
Removes the "(Clone)" part from names.
public static string TrimClone(this string @this)
Parameters
thisstring- The string to perform this action on.
Returns
- string
- The new string without "(Clone)". If the specified string does not contain "(Clone)", it simply returns the string as-is.