Пример #1
0
        public static TeamProjectReference FindProject(this AzureContext context, string projectName)
        {
            TeamProjectReference project;

            using (new ClientSampleHttpLoggerOutputSuppression(context)) {
                project = context.GetHttpClientProject().GetProjects(null).Result.FirstOrDefault(item => item.Name.CompareTo(projectName) == 0);
            }

            return(project);
        }