Open sandboxFocus

Operator implicit operator

implicit operator T(DurableDangerous<T>)

Unwraps the value.

Declaration
public static implicit operator T(DurableDangerous<T> value)
Parameters
Type Name Description
DurableDangerous<T> value

The wrapper.

Returns
Type Description
T

implicit operator DurableDangerous<T>(T)

Wraps a value, asserting that it is durable.

Declaration
public static implicit operator DurableDangerous<T>(T value)
Parameters
Type Name Description
T value

The value asserted to be durable.

Returns
Type Description
DurableDangerous<T>