Skip to content

Commit

Permalink
Added interface methods
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaulino committed Mar 9, 2024
1 parent 61be286 commit 2cf8ffe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Nightingale.Core/Settings/IUserSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ public interface IUserSettings
/// <param name="settingKey">The settings key, generally found in <see cref="SettingsConstants"/>.</param>
/// <returns>The desired value or returns the default value.</returns>
Task<T> GetAsync<T>(string settingKey);

public T Get<T>(string settingKey);

public void Set<T>(string settingKey, object value);
}
}

0 comments on commit 2cf8ffe

Please sign in to comment.