chore: convert Dalamud to file-scoped namespaces

This commit is contained in:
goat 2022-10-29 15:23:22 +02:00
parent b093323acc
commit 987ff8dc8f
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
368 changed files with 55081 additions and 55450 deletions

View file

@ -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;
}
}