コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TeamCityEnvironmentInfo"/> class.
 /// </summary>
 /// <param name="environment">The environment.</param>
 public TeamCityEnvironmentInfo(ICakeEnvironment environment)
     : base(environment)
 {
     Project     = new TeamCityProjectInfo(environment);
     Build       = new TeamCityBuildInfo(environment);
     PullRequest = new TeamCityPullRequestInfo(environment);
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TeamCityEnvironmentInfo"/> class.
 /// </summary>
 /// <param name="environment">The environment.</param>
 /// <param name="fileSystem">The file system.</param>
 public TeamCityEnvironmentInfo(ICakeEnvironment environment, IFileSystem fileSystem)
     : base(environment)
 {
     Project     = new TeamCityProjectInfo(environment);
     Build       = new TeamCityBuildInfo(environment, fileSystem);
     PullRequest = new TeamCityPullRequestInfo(environment, Build);
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TeamCityPullRequestInfo"/> class.
 /// </summary>
 /// <param name="environment">The environment.</param>
 /// <param name="buildInfo">The TeamCity build info.</param>
 public TeamCityPullRequestInfo(ICakeEnvironment environment, TeamCityBuildInfo buildInfo)
     : base(environment)
 {
     _buildInfo = buildInfo;
 }