- using Microsoft.Extensions.Configuration;
- namespace gameapi.Library
- {
- static class GlobalConfiguration
- {
- private static IConfiguration config;
- public static void Set(IConfiguration settingConfig) => config = settingConfig;
- public static IConfiguration Get() => config;
- }
- }
|