Class Ref
Utilities to create Ref<T> using type inference.
Inheritance
System.Object
Ref
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: IPA.Utilities
Assembly: IPA.Loader.dll
Syntax
public static class Ref
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. |