Class Ref
Utilities to create Ref<T> using type inference.
Namespace: IPA.Utilities
Assembly: IPA.Loader.dll
Syntax
public static class Ref : object
Methods
| Improve this Doc View SourceCreate<T>(T)
Creates a Ref<T>.
Declaration
public static Ref<T> Create<T>(T val)
Parameters
Type | Name | Description |
---|---|---|
T | val | the default value. |
Returns
Type | Description |
---|---|
Ref<T> | the new Ref<T>. |
Type Parameters
Name | Description |
---|---|
T | the type to reference. |