using System.Collections.Generic; using System.Diagnostics; using System.Globalization; namespace Octokit { /// /// Describes a new Impersonation Token to create via the method. /// [DebuggerDisplay("{DebuggerDisplay,nq}")] public class NewImpersonationToken { public NewImpersonationToken() { } /// /// Initializes a new instance of the class. /// /// The scopes for the token. public NewImpersonationToken(IEnumerable scopes) { Scopes = scopes; } /// /// The scopes for the token /// public IEnumerable Scopes { get; set; } internal string DebuggerDisplay { get { return string.Format(CultureInfo.InvariantCulture, "Scopes: {0}", string.Join("\r\n", Scopes)); } } } }