C# Class OpenTween.Api.TwitterApiStatus

显示文件 Open project: rhenium/OpenTween Class Usage Examples

Public Properties

Property Type Description
_AccessLimit OpenTween.Api.ApiLimit

Public Methods

Method Description
Reset ( ) : void
UpdateFromApi ( TwitterDataModel limit ) : void
UpdateFromHeader ( string>.IDictionary header ) : void

Protected Methods

Method Description
OnAccessLimitUpdated ( EventArgs e ) : void
TwitterApiStatus ( ) : System

Private Methods

Method Description
ParseAccessLevel ( string>.IDictionary header, string headerName ) : TwitterApiAccessLevel?
ParseHeaderValue ( string>.IDictionary dict ) : long?
ParseRateLimit ( string>.IDictionary header, string prefix ) : OpenTween.Api.ApiLimit

Method Details

OnAccessLimitUpdated() protected method

protected OnAccessLimitUpdated ( EventArgs e ) : void
e System.EventArgs
return void

Reset() public method

public Reset ( ) : void
return void

TwitterApiStatus() protected method

protected TwitterApiStatus ( ) : System
return System

UpdateFromApi() public method

public UpdateFromApi ( TwitterDataModel limit ) : void
limit TwitterDataModel
return void

UpdateFromHeader() public method

public UpdateFromHeader ( string>.IDictionary header ) : void
header string>.IDictionary
return void

Property Details

_AccessLimit public_oe property

public ApiLimit,OpenTween.Api _AccessLimit
return OpenTween.Api.ApiLimit