C# Class SensorbergControlLibrary.Model.SettingsControlModel

Inheritance: INotifyPropertyChanged
显示文件 Open project: sensorberg-dev/windows10-sdk

Public Methods

Method Description
SettingsControlModel ( ) : System
ValidateApiKeyAsync ( bool displayResultDialogInCaseOfFailure = false ) : Task

Validates the given API key.

Protected Methods

Method Description
OnPropertyChanged ( [ propertyName = null ) : void

Private Methods

Method Description
GetSettingsString ( string key, string defaultvalue ) : string

Method Details

OnPropertyChanged() protected method

protected OnPropertyChanged ( [ propertyName = null ) : void
propertyName [
return void

SettingsControlModel() public method

public SettingsControlModel ( ) : System
return System

ValidateApiKeyAsync() public method

Validates the given API key.
public ValidateApiKeyAsync ( bool displayResultDialogInCaseOfFailure = false ) : Task
displayResultDialogInCaseOfFailure bool If true, will display a result dialog in case of an error.
return Task