Example #1
0
        internal AzureDevOpsApi(IAzureDevOpsEndpoint endpoint)
        {
            _endpoint = endpoint ?? throw new EndpointNotFoundException();

            _client = new RestClient(endpoint.Address)
            {
                Authenticator = endpoint.GetAuthenticator()
            };
        }
Example #2
0
        internal AzureDevOpsApi(IAzureDevOpsEndpoint endpoint)
        {
            _endpoint = endpoint;

            _client = new RestClient(endpoint.Address)
            {
                Authenticator = endpoint.GetAuthenticator()
            };
        }