mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-05 23:06:10 +00:00
* Add support for /mets/public_keys/<keyType> * "files.insertFinalNewline": false * revert and make setttings.json change csharp only * formatting * remove final new line --------- Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
30 lines
765 B
C#
30 lines
765 B
C#
using System.Diagnostics;
|
|
using System.Globalization;
|
|
|
|
namespace Octokit
|
|
{
|
|
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
|
public class MetaPublicKey
|
|
{
|
|
public MetaPublicKey() { }
|
|
|
|
public MetaPublicKey(string keyIdentifier, string key, bool isCurrent)
|
|
{
|
|
KeyIdentifier = keyIdentifier;
|
|
Key = key;
|
|
IsCurrent = isCurrent;
|
|
}
|
|
|
|
public string KeyIdentifier { get; protected set; }
|
|
|
|
public string Key { get; protected set; }
|
|
|
|
public bool IsCurrent { get; protected set; }
|
|
|
|
internal string DebuggerDisplay
|
|
{
|
|
get { return string.Format(CultureInfo.InvariantCulture, "KeyIdentifier: {0} IsCurrent: {1}", KeyIdentifier, IsCurrent); }
|
|
}
|
|
}
|
|
}
|