From e7e88375d904145f02ad12d495195f07f9d12983 Mon Sep 17 00:00:00 2001 From: ZGGSONG Date: Fri, 16 Dec 2022 18:53:07 +0800 Subject: [PATCH] update comments --- STranslate/Model/LanguageEnum.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/STranslate/Model/LanguageEnum.cs b/STranslate/Model/LanguageEnum.cs index fa50b3e..42f6542 100644 --- a/STranslate/Model/LanguageEnum.cs +++ b/STranslate/Model/LanguageEnum.cs @@ -60,7 +60,9 @@ namespace STranslate.Model [Description("瑞典语")] SV, //瑞典语 } - //主要这个GetDescription()方法,看不懂没关系,如何调用 + /// + /// 获取Description + /// static class EnumExtensions { public static string GetDescription(this Enum val)