mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
30 lines
691 B
C#
30 lines
691 B
C#
using System.Diagnostics;
|
|
using System.Globalization;
|
|
|
|
namespace Octokit
|
|
{
|
|
/// <summary>
|
|
/// Used to create a Blob.
|
|
/// </summary>
|
|
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
|
public class NewBlob
|
|
{
|
|
/// <summary>
|
|
/// The content of the blob.
|
|
/// </summary>
|
|
public string Content { get; set; }
|
|
|
|
/// <summary>
|
|
/// The encoding of the blob.
|
|
/// </summary>
|
|
public EncodingType Encoding { get; set; }
|
|
|
|
internal string DebuggerDisplay
|
|
{
|
|
get
|
|
{
|
|
return string.Format(CultureInfo.InvariantCulture, "Encoding: {0}", Encoding);
|
|
}
|
|
}
|
|
}
|
|
} |