Edit

Share via


OrleansGeneratedCodeHelper.UnwrapService<TService> Method

Definition

Unwraps the provided service if it was wrapped.

public static TService UnwrapService<TService> (object caller, TService service);
static member UnwrapService : obj * 'Service -> 'Service
Public Function UnwrapService(Of TService) (caller As Object, service As TService) As TService

Type Parameters

TService

The service type.

Parameters

caller
Object

The caller.

service
TService

The service.

Returns

TService

The unwrapped service.

Applies to