public static GithubUrl Copy(GithubUrl source) { GithubUrl url = null; if (source != null) { url = new GithubUrl(); url.Protocol = source.Protocol; url.Format = source.Format; url.UserAgent = source.UserAgent; url.Port = source.Port; url.Timeout = source.Timeout; url.Login = source.Login; url.Token = source.Token; url.Path = source.Path; } return url; }
public UserApi(GithubUrl url) : base(url) { }
public Api(GithubUrl url) { _githubUrl = url; }
public Api() { _githubUrl = new GithubUrl(); }