C# 클래스 WiredPrairieUS.Devices.Nest

상속: INotifyPropertyChanged
파일 보기 프로젝트 열기: wiredprairie/Nest-Thermostat-DotNET-API 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AuthenticationUrl string

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
OnAuthenticationComplete ( ) : void
OnAuthenticationFailure ( Exception ex ) : void
OnNestException ( Exception ex ) : void
OnStatusUpdated ( dynamic status ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

BeginAuthenticate() 공개 메소드

public BeginAuthenticate ( ) : void
리턴 void

BeginGetCurrentStatus() 공개 메소드

public BeginGetCurrentStatus ( ) : void
리턴 void

CelsiusToFohrenheit() 공개 정적인 메소드

public static CelsiusToFohrenheit ( double c ) : int
c double
리턴 int

DeconstructStatus() 공개 메소드

public DeconstructStatus ( dynamic jBody ) : void
jBody dynamic
리턴 void

DeconstructStatus() 공개 메소드

public DeconstructStatus ( string jsonBody ) : void
jsonBody string
리턴 void

Nest() 공개 메소드

public Nest ( string username, string password ) : System
username string
password string
리턴 System

OnAuthenticationComplete() 보호된 메소드

protected OnAuthenticationComplete ( ) : void
리턴 void

OnAuthenticationFailure() 보호된 메소드

protected OnAuthenticationFailure ( Exception ex ) : void
ex System.Exception
리턴 void

OnNestException() 보호된 메소드

protected OnNestException ( Exception ex ) : void
ex System.Exception
리턴 void

OnStatusUpdated() 보호된 메소드

protected OnStatusUpdated ( dynamic status ) : void
status dynamic
리턴 void

ParseAuthenticationResponse() 공개 메소드

public ParseAuthenticationResponse ( string responseBody ) : void
responseBody string
리턴 void

프로퍼티 상세

AuthenticationUrl 공개적으로 정적으로 프로퍼티

public static string AuthenticationUrl
리턴 string