RemotingExtensions Type

Extension methods to retrieve remote services from a program component.

Static members

Static member Description

RemotingExtensions.Remote(this)

Full Usage: RemotingExtensions.Remote(this)

Parameters:
Returns: 'T The remote service.

Get an instance of the given remote service, whose URL is determined by its IRemoteService implementation.

this : IProgramComponent
Returns: 'T

The remote service.

RemotingExtensions.Remote(this, basePath)

Full Usage: RemotingExtensions.Remote(this, basePath)

Parameters:
Returns: 'T The remote service.

Get an instance of the given remote service, whose URL has the given base path.

this : IProgramComponent
basePath : string

The base URL path.

Returns: 'T

The remote service.