Class ImmutableExt
Utility class to add the .AsImmutable method to all objects.
Inheritance
System.Object
ImmutableExt
Namespace: Orleans.Concurrency
Assembly: Orleans.Core.Abstractions.dll
Syntax
public static class ImmutableExt : object
Methods
| Improve this Doc View SourceAsImmutable<T>(T)
Extension method to return this value wrapped in Immutable
.
Declaration
public static Immutable<T> AsImmutable<T>(this T value)
Parameters
Type | Name | Description |
---|---|---|
T | value | Value to be wrapped. |
Returns
Type | Description |
---|---|
Immutable<T> | Immutable wrapper around the original object. |
Type Parameters
Name | Description |
---|---|
T |
See Also
Immutable<T>