Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BorrehSoft.ApolloGeese.Duckling.Complinker"/> class using
 /// a configuration file defining service structure.
 /// </summary>
 /// <param name="config">Configuration file</param>
 public Complinker(FileInfo configFile, string workingDirectory = null)
 {
     this.ConfigFile = configFile;
     Configuration   = SettingsLoader.FromFile(
         this.ConfigFile.FullName, workingDirectory);
 }
Exemplo n.º 2
0
 public static void LoadSettings()
 {
     _settings = SettingsLoader <AppOptions> .FromFile("settings.json");
 }