public SimpleApiClient ( UriString repoUrl, IGitHubClient githubClient, Lazy |
||
repoUrl | UriString | |
githubClient | IGitHubClient | |
enterpriseProbe | Lazy |
|
wikiProbe | Lazy |
|
return | System |
public SimpleApiClient(UriString repoUrl, IGitHubClient githubClient,
Lazy<IEnterpriseProbeTask> enterpriseProbe, Lazy<IWikiProbe> wikiProbe)
{
Guard.ArgumentNotNull(repoUrl, nameof(repoUrl));
Guard.ArgumentNotNull(githubClient, nameof(githubClient));
HostAddress = HostAddress.Create(repoUrl);
OriginalUrl = repoUrl;
client = githubClient;
this.enterpriseProbe = enterpriseProbe;
this.wikiProbe = wikiProbe;
}