diff --git a/FastGithub.Scanner/GithubContext.cs b/FastGithub.Scanner/GithubContext.cs index 5bfc998..ea221e3 100644 --- a/FastGithub.Scanner/GithubContext.cs +++ b/FastGithub.Scanner/GithubContext.cs @@ -54,19 +54,7 @@ namespace FastGithub.Scanner public override string ToString() { - return new Github( - this.Domain, - this.Address, - this.History.AvailableRate, - this.History.AvgElapsed.TotalSeconds - ).ToString(); + return $"{this.Domain} {{Address={this.Address}, AvailableRate={this.History.AvailableRate}, AvgElapsed={this.History.AvgElapsed}}}"; } - - private record Github( - string Domain, - IPAddress Address, - double AvailableRate, - double AvgElapsed); - } }