OrleansGeneratedCodeHelper.UnwrapService<TService> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.