Exemple #1
0
        public static void LoadCurrentConfiguration(DocSetOptions options)
        {
            if (CurrentConfiguration != null)
            {
                return;
            }

            if (null != options)
            {
                var configurationFiles = DocSet.TryLoadConfigurationFiles <AppConfigFile>(options.DocumentationSetPath);
                CurrentConfiguration = configurationFiles.FirstOrDefault();
                if (null != CurrentConfiguration)
                {
                    Console.WriteLine("Using configuration file: {0}", CurrentConfiguration.SourcePath);
                }
            }
        }
 public override void LoadComplete()
 {
     AppConfigFile.ReplaceEnvironmentVariablesInAccounts(this.Accounts);
 }