Class Ref
- Namespace
- LfrlAnvil
- Assembly
- LfrlAnvil.Core.dll
Creates instances of Ref<T> type.
public static class Ref
- Inheritance
-
Ref
- Inherited Members
Methods
Create<T>(T)
Creates a new Ref<T> instance.
[Pure]
public static Ref<T> Create<T>(T value)
Parameters
value
TUnderlying value.
Returns
Type Parameters
T
GetUnderlyingType(Type?)
Attempts to extract the underlying type from the provided Ref<T>type
.
[Pure]
public static Type? GetUnderlyingType(Type? type)
Parameters
type
TypeType to extract the underlying type from.