Modifier

Partager via


ReadOnlyRef<T>.Implicit Operator

Definition

Overloads

Implicit(ReadOnlyRef<T> to T)

Implicitly gets the T value from a given ReadOnlyRef<T> instance.

Implicit(Ref<T> to ReadOnlyRef<T>)

Implicit(ReadOnlyRef<T> to T)

Implicitly gets the T value from a given ReadOnlyRef<T> instance.

public static implicit operator T (CommunityToolkit.HighPerformance.ReadOnlyRef<T> reference);
static member op_Implicit : CommunityToolkit.HighPerformance.ReadOnlyRef<'T> -> 'T
Public Shared Widening Operator CType (reference As ReadOnlyRef(Of T)) As T

Parameters

reference
ReadOnlyRef<T>

The input ReadOnlyRef<T> instance.

Returns

T

Applies to

Implicit(Ref<T> to ReadOnlyRef<T>)

public static implicit operator CommunityToolkit.HighPerformance.ReadOnlyRef<T> (CommunityToolkit.HighPerformance.Ref<T> reference);
static member op_Implicit : CommunityToolkit.HighPerformance.Ref<'T> -> CommunityToolkit.HighPerformance.ReadOnlyRef<'T>
Public Shared Widening Operator CType (reference As Ref(Of T)) As ReadOnlyRef(Of T)

Parameters

reference
Ref<T>

Returns

Applies to