Table of Contents

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

array T[]
The array to perform this action on.
item T
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

this string
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.