//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using System; using System.Collections.Generic; namespace Spectre.Console { /// /// Utility for working with emojis. /// public static partial class Emoji { private static readonly Dictionary _emojis = new Dictionary(StringComparer.InvariantCultureIgnoreCase) { {{~ for emoji in emojis ~}} { "{{ emoji.identifier }}", Emoji.Known.{{ emoji.name }} }, {{~ end ~}} }; /// /// Contains all predefined emojis. /// public static class Known { {{- for emoji in emojis }} /// /// Gets the "{{ emoji.identifier }}" emoji. /// Description: {{ emoji.description }}. /// public const string {{ emoji.name }} = "{{ emoji.code }}"; {{~ end ~}} } } }