/// <summary>
 /// Initializes a new instance of the <see cref="AdditionalInformationService"/> class.
 /// </summary>
 /// <param name="configuration">The configuration for the <see cref="AdditionalInformationService"/>.</param>
 public AdditionalInformationService(InfoscreenConfiguration configuration) :
     base(configuration)
 {
     this.witClient      = new Lazy <WorkItemTrackingHttpClient>(() => this.GetWorkItemTrackingHttpClient());
     this.buildClient    = new Lazy <BuildHttpClient>(() => this.GetBuildClient());
     this.gitClient      = new Lazy <GitHttpClient>(() => this.GetGitClient());
     this.releaseService = new Lazy <ReleaseService>(() => new ReleaseService(configuration));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VstsContext"/> class.
 /// </summary>
 /// <param name="configuration">The configuration.</param>
 private VstsContext(InfoscreenConfiguration configuration)
 {
     this.Configuration = configuration;
     this.additionalInformationService = new Lazy <AdditionalInformationService>(() => new AdditionalInformationService(this.Configuration));
     this.releaseService     = new Lazy <ReleaseService>(() => new ReleaseService(this.Configuration));
     this.pullRequestService = new Lazy <PullRequestService>(() => new PullRequestService(this.Configuration));
     this.buildService       = new Lazy <BuildService>(() => new BuildService(this.Configuration));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BuildService"/> class.
 /// </summary>
 /// <param name="config">The <see cref="InfoscreenConfiguration"/> configuration.</param>
 public BuildService(InfoscreenConfiguration config) :
     base(config)
 {
     this.buildClient = new Lazy <BuildHttpClient>(() => this.GetBuildClient());
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReleaseService"/> class.
 /// </summary>
 /// <param name="configuration">The configuration.</param>
 public ReleaseService(InfoscreenConfiguration configuration) :
     base(configuration)
 {
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VstsService"/> class.
 /// </summary>
 /// <param name="configuration">The configuration.</param>
 public VstsService(InfoscreenConfiguration configuration)
 {
     this.Configuration = configuration;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PullRequestService"/> class.
 /// </summary>
 /// <param name="configuration">The configuration.</param>
 public PullRequestService(InfoscreenConfiguration configuration) :
     base(configuration)
 {
     this.gitClient = new Lazy <GitHttpClient>(() => this.GetGitClient());
 }