/ src / settings-ui / Settings.UI / Helpers / ResourceLoaderInstance.cs
ResourceLoaderInstance.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  using Microsoft.Windows.ApplicationModel.Resources;
 5  
 6  namespace Microsoft.PowerToys.Settings.UI.Helpers
 7  {
 8      internal static class ResourceLoaderInstance
 9      {
10          internal static ResourceLoader ResourceLoader { get; private set; }
11  
12          static ResourceLoaderInstance()
13          {
14              ResourceLoader = new Microsoft.Windows.ApplicationModel.Resources.ResourceLoader("PowerToys.Settings.pri");
15          }
16      }
17  }