mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-17 13:27:43 +01:00
chore: convert Dalamud to file-scoped namespaces
This commit is contained in:
parent
b093323acc
commit
987ff8dc8f
368 changed files with 55081 additions and 55450 deletions
|
|
@ -1,28 +1,27 @@
|
|||
namespace Dalamud.Game.Text
|
||||
namespace Dalamud.Game.Text;
|
||||
|
||||
/// <summary>
|
||||
/// Extension methods for <see cref="SeIconChar"/>.
|
||||
/// </summary>
|
||||
public static class SeIconCharExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Extension methods for <see cref="SeIconChar"/>.
|
||||
/// Convert the SeIconChar to a <see cref="char"/> type.
|
||||
/// </summary>
|
||||
public static class SeIconCharExtensions
|
||||
/// <param name="icon">The icon to convert.</param>
|
||||
/// <returns>The converted icon.</returns>
|
||||
public static char ToIconChar(this SeIconChar icon)
|
||||
{
|
||||
/// <summary>
|
||||
/// Convert the SeIconChar to a <see cref="char"/> type.
|
||||
/// </summary>
|
||||
/// <param name="icon">The icon to convert.</param>
|
||||
/// <returns>The converted icon.</returns>
|
||||
public static char ToIconChar(this SeIconChar icon)
|
||||
{
|
||||
return (char)icon;
|
||||
}
|
||||
return (char)icon;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Conver the SeIconChar to a <see cref="string"/> type.
|
||||
/// </summary>
|
||||
/// <param name="icon">The icon to convert.</param>
|
||||
/// <returns>The converted icon.</returns>
|
||||
public static string ToIconString(this SeIconChar icon)
|
||||
{
|
||||
return string.Empty + (char)icon;
|
||||
}
|
||||
/// <summary>
|
||||
/// Conver the SeIconChar to a <see cref="string"/> type.
|
||||
/// </summary>
|
||||
/// <param name="icon">The icon to convert.</param>
|
||||
/// <returns>The converted icon.</returns>
|
||||
public static string ToIconString(this SeIconChar icon)
|
||||
{
|
||||
return string.Empty + (char)icon;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue