コード例 #1
0
        private ConfigurationFile InitConfigDemoFromSample(string groupName, string configFilePath)
        {
            WriteStartResult(groupName + " DEMO");
            ConfigurationFile configFile = null;

            try
            {
                configFile = ConfigurationFile.GetSampleConfigurationFile(groupName, configFilePath);

                ShowXml(configFile.ConfigFileText);

                OnConfigFileLoaded(configFile.ConfigFilePath);
            }
            catch (Exception ex)
            {
                WriteErrorResult(ex);
            }
            return(configFile);
        }