mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 12:03:19 +00:00
Add UserGpgKeysClient
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Octokit
|
||||
{
|
||||
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gpg")]
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq")]
|
||||
public class NewGpgKey
|
||||
{
|
||||
public NewGpgKey()
|
||||
{
|
||||
}
|
||||
|
||||
public NewGpgKey(string publicKey)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(publicKey, "publicKey");
|
||||
|
||||
ArmoredPublicKey = publicKey;
|
||||
}
|
||||
|
||||
public string ArmoredPublicKey { get; set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
get { return string.Format(CultureInfo.InvariantCulture, "ArmoredPublicKey: {0}", ArmoredPublicKey); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user