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; }