using System.Collections.Generic; using System.Diagnostics; using System.Globalization; namespace Octokit { /// /// Used to create a new Gist. /// [DebuggerDisplay("{DebuggerDisplay,nq}")] public class NewGist { public NewGist() { Files = new Dictionary(); } /// /// The description of the gist. /// public string Description { get; set; } /// /// Indicates whether the gist is public /// public bool Public { get; set; } /// /// Files that make up this gist using the key as Filename /// and value as Content /// public IDictionary Files { get; private set; } internal string DebuggerDisplay { get { return string.Format(CultureInfo.InvariantCulture, "Description: {0}", Description); } } } }