| 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
)
<ExtensionAttribute>
Public Shared Function GetRestClient (
me As ApplicationContext,
clientName As String
) As IRestClient
public:
[ExtensionAttribute]
static IRestClient^ GetRestClient(
ApplicationContext^ me,
String^ clientName
)
[<ExtensionAttribute>]
static member GetRestClient :
me : ApplicationContext *
clientName : string -> IRestClient
Parameters
- me
- Type: SanteDB.DisconnectedClientApplicationContext
Me. - clientName
- Type: SystemString
Client name.
Return Value
Type:
IRestClientThe 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