示例#1
0
        public static AzureDevOpsService CreateAzureDevOpsService(string token, string url, ILogger <AzureDevOpsService> logger)
        {
            var devOpsCreds      = new VssBasicCredential("nobody", token);
            var devOpsConnection = new VssConnection(new Uri(url), devOpsCreds);
            var result           = new AzureDevOpsService(devOpsConnection, logger);

            return(result);
        }