Example #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);
 }
 /// <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);
 }