diff --git a/Dalamud/Interface/FontAwesomeExtensions.cs b/Dalamud/Interface/FontAwesomeExtensions.cs new file mode 100644 index 000000000..734ec128d --- /dev/null +++ b/Dalamud/Interface/FontAwesomeExtensions.cs @@ -0,0 +1,30 @@ +// Font-Awesome - Version 5.0.9 + +namespace Dalamud.Interface +{ + /// + /// Extension methods for . + /// + public static class FontAwesomeExtensions + { + /// + /// Convert the FontAwesomeIcon to a type. + /// + /// The icon to convert. + /// The converted icon. + public static char ToIconChar(this FontAwesomeIcon icon) + { + return (char)icon; + } + + /// + /// Conver the FontAwesomeIcon to a type. + /// + /// The icon to convert. + /// The converted icon. + public static string ToIconString(this FontAwesomeIcon icon) + { + return string.Empty + (char)icon; + } + } +} diff --git a/Dalamud/Interface/FontAwesomeIcon.cs b/Dalamud/Interface/FontAwesomeIcon.cs index a8b93e9e7..c2267766c 100644 --- a/Dalamud/Interface/FontAwesomeIcon.cs +++ b/Dalamud/Interface/FontAwesomeIcon.cs @@ -7047,30 +7047,4 @@ namespace Dalamud.Interface /// Zhihu = 0xF63F, } - - /// - /// Extension methods for . - /// - public static class FontAwesomeExtensions - { - /// - /// Convert the FontAwesomeIcon to a type. - /// - /// The icon to convert. - /// The converted icon. - public static char ToIconChar(this FontAwesomeIcon icon) - { - return (char)icon; - } - - /// - /// Conver the FontAwesomeIcon to a type. - /// - /// The icon to convert. - /// The converted icon. - public static string ToIconString(this FontAwesomeIcon icon) - { - return string.Empty + (char)icon; - } - } }