Пример #1
0
        /// <summary>
        /// new した直後の内容に戻します。
        /// </summary>
        /// <param name="o_Table_StyleSheet"></param>
        /// <param name="log_Reports"></param>
        public void Clear(Table_Humaninput xenonTable_Stylesheet, Log_Reports log_Reports)
        {
            Log_Method pg_Method = new Log_MethodImpl();

            pg_Method.BeginMethod(Info_Operating.Name_Library, this, "Clear", log_Reports);

            //
            //

            this.Dictionary_RecordStyle.Clear();

            MemoryToMemory_Stylesheet mToO = new MemoryToMemory_Stylesheet();
            MemoryStyles moStyles          = mToO.Translate(xenonTable_Stylesheet, log_Reports);

            foreach (KeyValuePair <string, RecordXenonStyle> kvp in moStyles.Dictionary_RecordStyle)
            {
                this.Dictionary_RecordStyle.Add(kvp.Key, kvp.Value);
            }

            goto gt_EndMethod;
            //
            //
gt_EndMethod:
            pg_Method.EndMethod(log_Reports);
        }
Пример #2
0
        /// <summary>
        /// new した直後の内容に戻します。
        /// </summary>
        /// <param name="o_Table_StyleSheet"></param>
        /// <param name="log_Reports"></param>
        public void Clear(Table_Humaninput xenonTable_Stylesheet, Log_Reports log_Reports)
        {
            Log_Method pg_Method = new Log_MethodImpl();
            pg_Method.BeginMethod(Info_Operating.Name_Library, this, "Clear",log_Reports);

            //
            //

            this.Dictionary_RecordStyle.Clear();

            MemoryToMemory_Stylesheet mToO = new MemoryToMemory_Stylesheet();
            MemoryStyles moStyles = mToO.Translate(xenonTable_Stylesheet, log_Reports);

            foreach (KeyValuePair<string, RecordXenonStyle> kvp in moStyles.Dictionary_RecordStyle)
            {
                this.Dictionary_RecordStyle.Add(kvp.Key, kvp.Value);
            }

            goto gt_EndMethod;
            //
            //
            gt_EndMethod:
            pg_Method.EndMethod(log_Reports);
        }