memory optimization

This commit is contained in:
NaBian committed 2021-06-10 00:40:13 +08:00
1 parent 5afb569d11
commit 1ec8cb521c
5 files changed
+92 -36

No files matched your search

@@ -8,7 +8,7 @@ namespace HandyControlDemo.Properties.Langs
{
public class LangProvider : INotifyPropertyChanged
{
internal static LangProvider Instance => ResourceHelper.GetResource<LangProvider>("DemoLangs");
internal static LangProvider Instance { get; } = ResourceHelper.GetResource<LangProvider>("DemoLangs");
private static string CultureInfoStr;