C# Class GitHub.Factories.RepositoryHostFactory

Inheritance: IRepositoryHostFactory
Datei anzeigen Open project: github/VisualStudio

Public Methods

Method Description
Create ( HostAddress hostAddress ) : IRepositoryHost
Dispose ( ) : void
Remove ( IRepositoryHost host ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
RepositoryHostFactory ( IApiClientFactory apiClientFactory, IHostCacheFactory hostCacheFactory, ILoginCache loginCache, IAvatarProvider avatarProvider, ITwoFactorChallengeHandler twoFactorChallengeHandler, IUsageTracker usage ) : System

Method Details

Create() public method

public Create ( HostAddress hostAddress ) : IRepositoryHost
hostAddress GitHub.Primitives.HostAddress
return IRepositoryHost

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

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

Remove() public method

public Remove ( IRepositoryHost host ) : void
host IRepositoryHost
return void