/ src / settings-ui / Settings.UI.Library / Interfaces / ISettingsRepository`1.cs
ISettingsRepository`1.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 System;
 6  
 7  namespace Microsoft.PowerToys.Settings.UI.Library.Interfaces
 8  {
 9      public interface ISettingsRepository<T>
10      {
11          T SettingsConfig { get; set; }
12  
13          bool ReloadSettings();
14  
15          event Action<T> SettingsChanged;
16      }
17  }