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)); }
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))); }); }
public Project ProjectDetails(Project project) { return ProjectById(project.Id); }