using System.Diagnostics; using System.Globalization; namespace Octokit { /// /// Describes an update to an existing pre-receive environment. /// [DebuggerDisplay("{DebuggerDisplay,nq}")] public class UpdatePreReceiveEnvironment { /// /// The name of the environment as displayed in the UI. /// public string Name { get; set; } /// /// URL to the tarball that will be downloaded and extracted. /// public string ImageUrl { get; set; } internal string DebuggerDisplay { get { return string.Format(CultureInfo.InvariantCulture, "Name: {0} ImageUrl: {1}", Name, ImageUrl); } } } }