First actual commit
added sources to repository
This commit is contained in:
20
RedditSharp/RedditAPINameAttribute.cs
Normal file
20
RedditSharp/RedditAPINameAttribute.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user