using System; using System.Diagnostics; using System.Globalization; namespace Octokit { [DebuggerDisplay("{DebuggerDisplay,nq}")] public class GistFork { public GistFork() { } public GistFork(User user, string url, DateTimeOffset createdAt) { User = user; Url = url; CreatedAt = createdAt; } /// /// The that created this /// public User User { get; protected set; } /// /// The API URL for this . /// public string Url { get; protected set; } /// /// The for when this was created. /// public DateTimeOffset CreatedAt { get; protected set; } internal string DebuggerDisplay { get { return string.Format(CultureInfo.InvariantCulture, "User: {0}, Url: {1}", User.DebuggerDisplay, Url); } } } }