C# Class DataHubServicesAddin.LocatorManager

Datei anzeigen Open project: EsriUK/OnlineServicesAddin Class Usage Examples

Private Properties

Property Type Description
GetToken string
GetTokenUrlFromLocatorUrl string

Public Methods

Method Description
CreateClient ( OnlineLocator onlineLocator ) : LocatorHub

Creates the client.

CreateClient ( string url ) : LocatorHub

Creates the client.

CreateClient ( string url, string username, string password, AuthenticationMode authenticationMode, string tokenUrl ) : LocatorHub

Creates the client.

Private Methods

Method Description
GetToken ( string url, string username, string password ) : string

Gets the token.

GetTokenUrlFromLocatorUrl ( string url ) : string

Method Details

CreateClient() public static method

Creates the client.
public static CreateClient ( OnlineLocator onlineLocator ) : LocatorHub
onlineLocator OnlineLocator The online locator.
return DataHubServicesAddin.LocatorHub.LocatorHub

CreateClient() public static method

Creates the client.
public static CreateClient ( string url ) : LocatorHub
url string The URL.
return DataHubServicesAddin.LocatorHub.LocatorHub

CreateClient() public static method

Creates the client.
public static CreateClient ( string url, string username, string password, AuthenticationMode authenticationMode, string tokenUrl ) : LocatorHub
url string The URL.
username string The username.
password string The password.
authenticationMode AuthenticationMode The authentication mode.
tokenUrl string
return DataHubServicesAddin.LocatorHub.LocatorHub