Summary
Various utility methods used by
UltEvents.- Assembly
- UltEvents
.dll - Namespace
- UltEvents
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["UltEventUtils"]
class Type type-node
Syntax
public static class UltEventUtils
Fields
| Name | Constant Value | Summary |
|---|---|---|
| AnyAccessBindings | 60 |
Commonly used
System.Reflection.BindingFlags.static
|
| APIDocumentationURL | https://kybernetik.com.au/ultevents/api/ |
The address of the API documentation.
static
|
| ComponentMenuPrefix | UltEvents/ |
The sub-menu which all
UltEvents components are listed in.static
|
| DocumentationURL | https://kybernetik.com.au/ultevents |
The address of the online documentation.
static
|
| InstanceBindings | 52 |
Commonly used
System.Reflection.BindingFlags.static
|
| StaticBindings | 56 |
Commonly used
System.Reflection.BindingFlags.static
|
Methods
| Name | Value | Summary |
|---|---|---|
| AppendDeepToString |
void |
Each element returned by `enumerator` is appended to `text`.
static
|
| Append |
int |
Appends the generic arguments of `type` (after skipping the specified number).
static
|
| AppendNameCS |
StringBuilder |
Appends the full name of a `member` as it would appear in C# code.
static
|
| Calculate |
int |
Calculate the number of removals, inserts, and replacements needed to turn `a` into `b`.
static
|
| DeepToString |
string |
Returns a string containing the value of each element in `collection` (each on a new line).
static
|
| DeepToString |
string |
Returns a string containing the value of each element in `collection`.
static
|
| DeepToString |
string |
Returns a string containing the value of each element in `enumerator` (each on a new line).
static
|
| DeepToString |
string |
Returns a string containing the value of each element in `enumerator`.
static
|
| Get |
string |
Returns "AssemblyQualifiedName.MemberName".
static
|
| GetNameCS |
string |
Returns the full name of a `member` as it would appear in C# code.
static
|
| GetNameCS |
string |
Returns the name of a `type` as it would appear in C# code.
static
|
| GetPlacementName |
string |
Translates a zero based index to a placement name: 0 = "1st", 1 = "2nd", etc.
static
|
| GetReturnType |
Type |
Returns the
System.Reflection.MemberInfo.DeclaringType for constructors or System.Reflection.MethodInfo.ReturnType
for regular methods or System.Reflection.FieldInfo.FieldType for fields.
static
|
| GetReturnType |
Type |
Returns the
System.Reflection.MemberInfo.DeclaringType for constructors or System.Reflection.MethodInfo.ReturnType
for regular methods.
static
|
| StableInsertionSort |
void |
Sorts `list`, maintaining the order of any elements with an identical comparison
(unlike the standard
System.Collections.Generic.List`1.Sort method).
static
|
| StableInsertionSort |
void |
Sorts `list`, maintaining the order of any elements with an identical comparison
(unlike the standard
System.Collections.Generic.List`1.Sort(System.Comparison{`0}) method).
static
|