C# Class GitHub.Models.RepositoryHosts

Inheritance: ReactiveUI.ReactiveObject, IRepositoryHosts
ファイルを表示 Open project: github/VisualStudio

Public Properties

Property Type Description
DisconnectedRepositoryHost DisconnectedRepositoryHost

Private Properties

Property Type Description
RepositoryHosts System
RunLoginHandler IObservable

Public Methods

Method Description
Dispose ( ) : void
LogIn ( HostAddress address, string usernameOrEmail, string password ) : IObservable
LogInFromCache ( HostAddress address ) : IObservable

This is only called by the connection manager when logging in connections that already exist so we don't have to add the connection.

LogOut ( IRepositoryHost host ) : IObservable
LookupHost ( [ address ) : IRepositoryHost

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
RepositoryHosts ( IRepositoryHostFactory repositoryHostFactory, ISharedCache sharedCache, IConnectionManager connectionManager ) : System
RunLoginHandler ( IConnection connection ) : 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 ( HostAddress address, string usernameOrEmail, string password ) : IObservable
address GitHub.Primitives.HostAddress
usernameOrEmail string
password string
return IObservable

LogInFromCache() public method

This is only called by the connection manager when logging in connections that already exist so we don't have to add the connection.
public LogInFromCache ( HostAddress address ) : IObservable
address GitHub.Primitives.HostAddress
return IObservable

LogOut() public method

public LogOut ( IRepositoryHost host ) : IObservable
host IRepositoryHost
return IObservable

LookupHost() public method

public LookupHost ( [ address ) : IRepositoryHost
address [
return IRepositoryHost

Property Details

DisconnectedRepositoryHost public_oe static_oe property

public static DisconnectedRepositoryHost,GitHub.Models DisconnectedRepositoryHost
return DisconnectedRepositoryHost