C# Class ApiCore.ApiQueryBuilder

Class for building url queries to vkontakte api
Mostrar archivo Open project: nolka/vkdotnet Class Usage Examples

Public Methods

Method Description
Add ( string key, string value ) : ApiQueryBuilder

Adds parameters to API request

ApiQueryBuilder ( int apiId, SessionInfo si ) : System

Initializes api query builder

BuildQuery ( ) : string

Build query string

Clear ( ) : void

Clear api parameters

Method Details

Add() public method

Adds parameters to API request
public Add ( string key, string value ) : ApiQueryBuilder
key string Parameter name
value string Parameter value
return ApiQueryBuilder

ApiQueryBuilder() public method

Initializes api query builder
public ApiQueryBuilder ( int apiId, SessionInfo si ) : System
apiId int Your desktop api id
si SessionInfo Session info, provided by SessionManager
return System

BuildQuery() public method

Build query string
public BuildQuery ( ) : string
return string

Clear() public method

Clear api parameters
public Clear ( ) : void
return void