Files
RedditRandomNumberGiveawayH…/RedditSharp/RedditAPINameAttribute.cs
Gardient 9583c1afb2 First actual commit
added sources to repository
2015-08-28 21:49:50 +03:00

21 lines
421 B
C#

using System;
namespace RedditSharp
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
internal class RedditAPINameAttribute : Attribute
{
internal string Name { get; private set; }
internal RedditAPINameAttribute(string name)
{
Name = name;
}
public override string ToString()
{
return Name;
}
}
}