Reorganized properties in Emoji.cs

This commit is contained in:
RogueException
2017-06-29 18:06:12 -03:00
parent 224d0403db
commit 394e0aa4d1

View File

@@ -6,6 +6,14 @@
public class Emoji : IEmote
{
// TODO: need to constrain this to unicode-only emojis somehow
/// <summary>
/// The unicode representation of this emote.
/// </summary>
public string Name { get; }
public override string ToString() => Name;
/// <summary>
/// Creates a unicode emoji.
/// </summary>
@@ -15,13 +23,6 @@
Name = unicode;
}
/// <summary>
/// The unicode representation of this emote.
/// </summary>
public string Name { get; }
public override string ToString() => Name;
public override bool Equals(object other)
{
if (other == null) return false;