GlobalConfiguration.cs 312 B

12345678910111213
  1. using Microsoft.Extensions.Configuration;
  2. namespace gameapi.Library
  3. {
  4. static class GlobalConfiguration
  5. {
  6. private static IConfiguration config;
  7. public static void Set(IConfiguration settingConfig) => config = settingConfig;
  8. public static IConfiguration Get() => config;
  9. }
  10. }