C# Class YukiYume.GitHub.Json.JsonUserService

JSON implementation of IUserService
Inheritance: BaseService, IUserService
Datei anzeigen Open project: yukiyume/YukiYume.GitHub

Protected Properties

Property Type Description
ValidEmail System.Text.RegularExpressions.Regex

Public Methods

Method Description
AddEmail ( string email ) : IEnumerable
AddKey ( PublicKey publicKey ) : IEnumerable
AddKey ( string title, string key ) : IEnumerable
Follow ( SearchUser user ) : IEnumerable
Follow ( User user ) : IEnumerable
Follow ( string userName ) : IEnumerable
Followers ( SearchUser user ) : IEnumerable
Followers ( User user ) : IEnumerable
Followers ( string userName ) : IEnumerable
Following ( SearchUser user ) : IEnumerable
Following ( User user ) : IEnumerable
Following ( string userName ) : IEnumerable
Get ( string userName ) : User
GetEmails ( ) : IEnumerable
GetKeys ( ) : IEnumerable
JsonUserService ( ) : System
JsonUserService ( string gitHubUserName, string gitHubApiToken ) : System
RemoveEmail ( string email ) : IEnumerable
RemoveKey ( PublicKey publicKey ) : IEnumerable
RemoveKey ( int id ) : IEnumerable
Search ( string searchName ) : IEnumerable
Unfollow ( SearchUser user ) : IEnumerable
Unfollow ( User user ) : IEnumerable
Unfollow ( string userName ) : IEnumerable
Update ( User user ) : User
Update ( string name, string email, string blog, string company, string location ) : User

Protected Methods

Method Description
AddUpdateParameter ( string name, string formName, NameValueCollection parameters ) : void
ValidateEmail ( string email ) : void

Method Details

AddEmail() public method

public AddEmail ( string email ) : IEnumerable
email string
return IEnumerable

AddKey() public method

public AddKey ( PublicKey publicKey ) : IEnumerable
publicKey PublicKey
return IEnumerable

AddKey() public method

public AddKey ( string title, string key ) : IEnumerable
title string
key string
return IEnumerable

AddUpdateParameter() protected static method

protected static AddUpdateParameter ( string name, string formName, NameValueCollection parameters ) : void
name string
formName string
parameters System.Collections.Specialized.NameValueCollection
return void

Follow() public method

public Follow ( SearchUser user ) : IEnumerable
user SearchUser
return IEnumerable

Follow() public method

public Follow ( User user ) : IEnumerable
user User
return IEnumerable

Follow() public method

public Follow ( string userName ) : IEnumerable
userName string
return IEnumerable

Followers() public method

public Followers ( SearchUser user ) : IEnumerable
user SearchUser
return IEnumerable

Followers() public method

public Followers ( User user ) : IEnumerable
user User
return IEnumerable

Followers() public method

public Followers ( string userName ) : IEnumerable
userName string
return IEnumerable

Following() public method

public Following ( SearchUser user ) : IEnumerable
user SearchUser
return IEnumerable

Following() public method

public Following ( User user ) : IEnumerable
user User
return IEnumerable

Following() public method

public Following ( string userName ) : IEnumerable
userName string
return IEnumerable

Get() public method

public Get ( string userName ) : User
userName string
return User

GetEmails() public method

public GetEmails ( ) : IEnumerable
return IEnumerable

GetKeys() public method

public GetKeys ( ) : IEnumerable
return IEnumerable

JsonUserService() public method

public JsonUserService ( ) : System
return System

JsonUserService() public method

public JsonUserService ( string gitHubUserName, string gitHubApiToken ) : System
gitHubUserName string
gitHubApiToken string
return System

RemoveEmail() public method

public RemoveEmail ( string email ) : IEnumerable
email string
return IEnumerable

RemoveKey() public method

public RemoveKey ( PublicKey publicKey ) : IEnumerable
publicKey PublicKey
return IEnumerable

RemoveKey() public method

public RemoveKey ( int id ) : IEnumerable
id int
return IEnumerable

Search() public method

public Search ( string searchName ) : IEnumerable
searchName string
return IEnumerable

Unfollow() public method

public Unfollow ( SearchUser user ) : IEnumerable
user SearchUser
return IEnumerable

Unfollow() public method

public Unfollow ( User user ) : IEnumerable
user User
return IEnumerable

Unfollow() public method

public Unfollow ( string userName ) : IEnumerable
userName string
return IEnumerable

Update() public method

public Update ( User user ) : User
user User
return User

Update() public method

public Update ( string name, string email, string blog, string company, string location ) : User
name string
email string
blog string
company string
location string
return User

ValidateEmail() protected static method

protected static ValidateEmail ( string email ) : void
email string
return void

Property Details

ValidEmail protected_oe static_oe property

protected static Regex,System.Text.RegularExpressions ValidEmail
return System.Text.RegularExpressions.Regex