C# Class Netsy.Services.UsersService

Implementation of Etsy users service calls API
Inheritance: IUsersService
Afficher le fichier Open project: AnthonySteele/Netsy Class Usage Examples

Méthodes publiques

Méthode Description
GetUserDetails ( int userId, DetailLevel detailLevel ) : IAsyncResult

Get the user details

GetUsersByName ( string searchName, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult

Query for users by name

UsersService ( EtsyContext etsyContext ) : System

Initializes a new instance of the UsersService class

UsersService ( EtsyContext etsyContext, IDataRetriever dataRetriever ) : System

Initializes a new instance of the UsersService class

Method Details

GetUserDetails() public méthode

Get the user details
public GetUserDetails ( int userId, DetailLevel detailLevel ) : IAsyncResult
userId int the user id
detailLevel DetailLevel the detail level
Résultat IAsyncResult

GetUsersByName() public méthode

Query for users by name
public GetUsersByName ( string searchName, int offset, int limit, DetailLevel detailLevel ) : IAsyncResult
searchName string the name to search for
offset int the searh results offset
limit int the search limit
detailLevel DetailLevel the level of detail
Résultat IAsyncResult

UsersService() public méthode

Initializes a new instance of the UsersService class
public UsersService ( EtsyContext etsyContext ) : System
etsyContext Netsy.DataModel.EtsyContext the etsy context to use
Résultat System

UsersService() public méthode

Initializes a new instance of the UsersService class
public UsersService ( EtsyContext etsyContext, IDataRetriever dataRetriever ) : System
etsyContext Netsy.DataModel.EtsyContext the etsy context to use
dataRetriever IDataRetriever the data retreiver to use
Résultat System