/ src / modules / FileLocksmith / FileLocksmithUI / 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  
 5  using Microsoft.Windows.ApplicationModel.Resources;
 6  
 7  namespace PowerToys.FileLocksmithUI.Helpers
 8  {
 9      internal static class ResourceLoaderInstance
10      {
11          internal static ResourceLoader ResourceLoader { get; private set; }
12  
13          static ResourceLoaderInstance()
14          {
15              ResourceLoader = new Microsoft.Windows.ApplicationModel.Resources.ResourceLoader("PowerToys.FileLocksmithUI.pri");
16          }
17      }
18  }