Operator implicit operator
implicit operator EnabledRefRO<T>(EnabledRefRW<T>)
Convert into a read-only version EnabledRefRO of this EnabledRefRW
Declaration
public static implicit operator EnabledRefRO<T>(EnabledRefRW<T> componentEnabledRefRW)
Parameters
Type | Name | Description |
---|---|---|
EnabledRefRW<T> | componentEnabledRefRW | The read-write reference to convert to read-only |
Returns
Type | Description |
---|---|
EnabledRefRO<T> | The EnabledRefRO |