TeamCityDisposableExtensions Class

Summary

A set of extensions for allowing "using" with TeamCity "blocks".
Namespace
Cake.Common.Build.TeamCity
Base Types
  • object
graph BT Type-->Base0["object"] Type["TeamCityDisposableExtensions"] class Type type-node

Syntax

public static class TeamCityDisposableExtensions

Methods

Name Value Summary
Block(ITeamCityProvider, string) IDisposable
Writes the start of a TeamCity message block, then returns a disposable that writes the report block end on dispose.
static
BuildBlock(ITeamCityProvider, string) IDisposable
Writes the start of a TeamCity build block, then returns a disposable that writes the build block end on dispose.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin