Click or drag to resize

ConfigurationExtensionsGetRestClient Method

Gets the rest client.

Namespace:  SanteDB.DisconnectedClient.Interop
Assembly:  SanteDB.DisconnectedClient.Core (in SanteDB.DisconnectedClient.Core.dll) Version: 2.2.1
Syntax
public static IRestClient GetRestClient(
	this ApplicationContext me,
	string clientName
)

Parameters

me
Type: SanteDB.DisconnectedClientApplicationContext
Me.
clientName
Type: SystemString
Client name.

Return Value

Type: IRestClient
The rest client.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ApplicationContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also