mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Use file-scoped namespaces
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
using System.Web;
|
||||
|
||||
namespace Kruzya.TelegramBot.Core.Extensions
|
||||
{
|
||||
public static class StringExtension
|
||||
{
|
||||
public static string HtmlEncode(this string content)
|
||||
{
|
||||
return HttpUtility.HtmlEncode(content);
|
||||
}
|
||||
namespace Kruzya.TelegramBot.Core.Extensions;
|
||||
|
||||
public static string HtmlDecode(this string content)
|
||||
{
|
||||
return HttpUtility.HtmlDecode(content);
|
||||
}
|
||||
public static class StringExtension
|
||||
{
|
||||
public static string HtmlEncode(this string content)
|
||||
{
|
||||
return HttpUtility.HtmlEncode(content);
|
||||
}
|
||||
|
||||
public static string HtmlDecode(this string content)
|
||||
{
|
||||
return HttpUtility.HtmlDecode(content);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user