using System.Resources; namespace IPL.HRMS.Common.I18n { public class FrameworkI18N { private static readonly ResourceManager _resourceManager = new ResourceManager(typeof(FrameworkI18N)); /// /// 必填 /// public static string NotConnect => GetString("Grpc.NotConnect"); /// /// 获取对应的I18N消息 /// /// /// public static string GetString(string name) { return _resourceManager.GetString(name); } } }