コード例 #1
0
        public void it_returns_project_details_when_passing_project()
        {
            var project = new Project { Id = "project137" };
            Project projectDetails = _client.Projects.Details(project);

            Assert.That(!string.IsNullOrWhiteSpace(projectDetails.Id));
        }
コード例 #2
0
 public void GetBuildConfigsByProject(Project project, Action<IEnumerable<BuildConfigViewModel>> callback)
 {
     if (callback == null) throw new ArgumentNullException("callback");
     worker.QueueWork(delegate
         {
             callback(client.BuildConfigsByProjectId(project.Id).Select(
                 x => new BuildConfigViewModel(x, this)));
         });
 }
コード例 #3
0
 public Project ProjectDetails(Project project)
 {
     return ProjectById(project.Id);
 }