C# Class WiredPrairieUS.Devices.Nest

Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: wiredprairie/Nest-Thermostat-DotNET-API Class Usage Examples

Méthodes publiques

Свойство Type Description
AuthenticationUrl string

Méthodes publiques

Méthode Description
BeginAuthenticate ( ) : void
BeginGetCurrentStatus ( ) : void
CelsiusToFohrenheit ( double c ) : int
DeconstructStatus ( dynamic jBody ) : void
DeconstructStatus ( string jsonBody ) : void
Nest ( string username, string password ) : System
ParseAuthenticationResponse ( string responseBody ) : void

Méthodes protégées

Méthode Description
OnAuthenticationComplete ( ) : void
OnAuthenticationFailure ( Exception ex ) : void
OnNestException ( Exception ex ) : void
OnStatusUpdated ( dynamic status ) : void

Private Methods

Méthode Description
AuthenticateCallback ( IAsyncResult result ) : void
GetCookieValueOrDefault ( CookieCollection cookies, string name ) : string
GetCurrentStatusCallback ( IAsyncResult result ) : void
GetDateAsJsonDate ( ) : string
GetDateAsJsonDate ( System.DateTime date ) : string
RaisePropertyChanged ( string propertyName ) : void
WriteEncodedFormParameter ( string key, string value ) : string
WriteEncodedFormParameter ( string key, string value, bool isUrl ) : string

Method Details

BeginAuthenticate() public méthode

public BeginAuthenticate ( ) : void
Résultat void

BeginGetCurrentStatus() public méthode

public BeginGetCurrentStatus ( ) : void
Résultat void

CelsiusToFohrenheit() public static méthode

public static CelsiusToFohrenheit ( double c ) : int
c double
Résultat int

DeconstructStatus() public méthode

public DeconstructStatus ( dynamic jBody ) : void
jBody dynamic
Résultat void

DeconstructStatus() public méthode

public DeconstructStatus ( string jsonBody ) : void
jsonBody string
Résultat void

Nest() public méthode

public Nest ( string username, string password ) : System
username string
password string
Résultat System

OnAuthenticationComplete() protected méthode

protected OnAuthenticationComplete ( ) : void
Résultat void

OnAuthenticationFailure() protected méthode

protected OnAuthenticationFailure ( Exception ex ) : void
ex System.Exception
Résultat void

OnNestException() protected méthode

protected OnNestException ( Exception ex ) : void
ex System.Exception
Résultat void

OnStatusUpdated() protected méthode

protected OnStatusUpdated ( dynamic status ) : void
status dynamic
Résultat void

ParseAuthenticationResponse() public méthode

public ParseAuthenticationResponse ( string responseBody ) : void
responseBody string
Résultat void

Property Details

AuthenticationUrl public_oe static_oe property

public static string AuthenticationUrl
Résultat string