Add attribute to serialize strings as base64 encoded

This commit is contained in:
Haacked
2014-12-29 22:51:16 -08:00
parent 99b93c1293
commit 83bc99256a
9 changed files with 119 additions and 12 deletions
@@ -0,0 +1,12 @@
using System;
namespace Octokit.Helpers
{
/// <summary>
/// Attribute used to denote that a string property should be serialized as a base64 encoded string.
/// </summary>
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public sealed class SerializeAsBase64Attribute : Attribute
{
}
}