Interface ISharedRef<TValue, TReserved>
A shared reference to a value.
Inherited Members
Namespace: Microsoft.XboxStudios.ClientManager
Assembly: ClientManager.dll
Syntax
public interface ISharedRef<TValue, TReserved> : ISharedRef<TValue>
Type Parameters
Name | Description |
---|---|
TValue | The type of the value to have a shared reference to. |
TReserved | The type of the reserved object responsible to unreserve when out of scope. |
Methods
View SourceReserve()
Increases the reference count of the shared reference and returns the shared value in a reserved object.
Declaration
TReserved Reserve()
Returns
Type | Description |
---|---|
TReserved | A Reserve() wrapper around the shared value. |