C# Class GitHub.Models.RepositoryHost

Inheritance: ReactiveUI.ReactiveObject, IRepositoryHost
ファイルを表示 Open project: github/VisualStudio Class Usage Examples

Private Properties

Property Type Description
GetAuthenticationResultForUser IObservable
GetUserFromApi IObservable
LogInFromCache IObservable
LoginWithApiUser IObservable

Public Methods

Method Description
Dispose ( ) : void
LogIn ( string usernameOrEmail, string password ) : IObservable
LogOut ( ) : IObservable
RepositoryHost ( IApiClient apiClient, IModelService modelService, ILoginCache loginCache, ITwoFactorChallengeHandler twoFactorChallengeHandler, IUsageTracker usage ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
GetAuthenticationResultForUser ( UserAndScopes account ) : IObservable
GetUserFromApi ( ) : IObservable
LogInFromCache ( ) : IObservable
LoginWithApiUser ( UserAndScopes userAndScopes ) : IObservable

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

LogIn() public method

public LogIn ( string usernameOrEmail, string password ) : IObservable
usernameOrEmail string
password string
return IObservable

LogOut() public method

public LogOut ( ) : IObservable
return IObservable

RepositoryHost() public method

public RepositoryHost ( IApiClient apiClient, IModelService modelService, ILoginCache loginCache, ITwoFactorChallengeHandler twoFactorChallengeHandler, IUsageTracker usage ) : System
apiClient IApiClient
modelService IModelService
loginCache ILoginCache
twoFactorChallengeHandler ITwoFactorChallengeHandler
usage IUsageTracker
return System