Exemplo n.º 1
0
        /// <summary>
        /// 変換設定情報の削除
        /// </summary>
        /// <param name="convertSettingName">変換設定名</param>
        /// <returns></returns>
        public void DeleteSetting(string convertSettingName)
        {
            ConvertSettingItem item = GetSetting(convertSettingName);

            if (item != null)
            {
                ConvertSettingList.Remove(item);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// 変換設定情報の設定
        /// </summary>
        /// <param name="convertSettingName">変換設定名</param>
        /// <param name="commandTemplate">コマンドラインのテンプレート</param>
        /// <returns></returns>
        public void SetSetting(string convertSettingName, string commandTemplate)
        {
            ConvertSettingItem item = GetSetting(convertSettingName);

            if (item == null)
            {
                item = new ConvertSettingItem();
                ConvertSettingList.Add(item);
            }
            item.ConvertSettingName  = convertSettingName;
            item.CommandLineTemplate = commandTemplate;
        }