Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public UserApi(GithubUrl url)
     : base(url)
 {
 }
Exemplo n.º 3
0
 public Api(GithubUrl url)
 {
     _githubUrl = url;
 }
Exemplo n.º 4
0
 public Api()
 {
     _githubUrl = new GithubUrl();
 }