Edit

Share via


ImmutableExt.AsImmutable<T>(T) Method

Definition

Extension method to return this value wrapped in Immutable.

public static Orleans.Concurrency.Immutable<T> AsImmutable<T> (this T value);
static member AsImmutable : 'T -> Orleans.Concurrency.Immutable<'T>
<Extension()>
Public Function AsImmutable(Of T) (value As T) As Immutable(Of T)

Type Parameters

T

Parameters

value
T

Value to be wrapped.

Returns

Immutable wrapper around the original object.

Applies to

See also