Méthode | Description | |
---|---|---|
GetCertificate ( ) : |
Gets the certificate from the Global Settings store.
|
|
GetHttpClient ( ) : |
Manufacturers an Http Client with default values.
|
|
GetServerHostname ( ) : |
Gets the server hostname from the Global Settings store.
|
|
GlobalSettingsService ( IGlobalSettingsRepository globalSettingsRepository ) : Drey.Configuration.Repositories |
Initializes a new instance of the GlobalSettingsService class.
|
|
HasValidSettings ( ) : bool |
Determines whether the global settings are valid or not.
|
|
StoreSettings ( ViewModels settings ) : bool |
Stores the initial settings in the Global Settings store.
|
|
UpdateClientCertificate ( byte cert ) : void |
Updates the SSL certificate in the Global Settings store.
|
|
UpdateHostDetails ( ViewModels pmo ) : void |
Updates the server hostname in the Global Settings store.
|
public GetCertificate ( ) : |
||
Résultat |
public GetHttpClient ( ) : |
||
Résultat |
public GetServerHostname ( ) : |
||
Résultat |
public GlobalSettingsService ( IGlobalSettingsRepository globalSettingsRepository ) : Drey.Configuration.Repositories | ||
globalSettingsRepository | IGlobalSettingsRepository | The global settings repository. |
Résultat | Drey.Configuration.Repositories |
public StoreSettings ( ViewModels settings ) : bool | ||
settings | ViewModels | The settings. |
Résultat | bool |
public UpdateClientCertificate ( byte cert ) : void | ||
cert | byte | The cert. |
Résultat | void |
public UpdateHostDetails ( ViewModels pmo ) : void | ||
pmo | ViewModels | |
Résultat | void |