/// <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); }
public static void LoadSettings() { _settings = SettingsLoader <AppOptions> .FromFile("settings.json"); }