Initial commit.
This commit is contained in:
14
Models/AppConfigs.cs
Normal file
14
Models/AppConfigs.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace TriliumMind.Models;
|
||||
|
||||
public class AppConfigs
|
||||
{
|
||||
public Dictionary<string, string> RuntimeConfigs;
|
||||
public AppSettings AppSettings { get; set; }
|
||||
public AppConfigs(IOptions<AppSettings> options)
|
||||
{
|
||||
RuntimeConfigs = new Dictionary<string, string>();
|
||||
AppSettings = options.Value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user