• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# MemoryApplication类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中MemoryApplication的典型用法代码示例。如果您正苦于以下问题:C# MemoryApplication类的具体用法?C# MemoryApplication怎么用?C# MemoryApplication使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



MemoryApplication类属于命名空间,在下文中一共展示了MemoryApplication类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: ParseChild_InAnotherLibrary

        //────────────────────────────────────────
        public static void ParseChild_InAnotherLibrary(
            Configurationtree_Node cur_Cf,
            Expression_Node_String parent_Expr,//nAcase,nFelemの両方の場合がある。
            MemoryApplication memoryApplication,
            Log_TextIndented_ConfigurationtreeToExpression pg_ParsingLog,
            Log_Reports log_Reports
            )
        {
            Log_Method log_Method = new Log_MethodImpl(0, Log_ReportsImpl.BDebugmode_Static);
            log_Method.BeginMethod(Info_ConfigurationtreeToExpression.Name_Library, "SToE_AbstractImpl", "ParseChild_InAnotherLibrary",log_Reports);

            ConfigurationtreeToExpression_F14n16 dammy = new ConfigurationtreeToExpression_F14_FncImpl_();//メソッドが使いたいだけなので、何でもいい。
            dammy.ParseChild_InConfigurationtreeToExpression(
                cur_Cf,
                parent_Expr,
                memoryApplication,
                pg_ParsingLog,
                log_Reports
                );

            goto gt_EndMethod;
            //
            //
            gt_EndMethod:

            if (Log_ReportsImpl.BDebugmode_Static)
            {
                //d_ParsingLog.Decrement(s_Cur.Name_Node);
            }
            log_Method.EndMethod(log_Reports);
        }
开发者ID:muzudho,项目名称:CSVExE,代码行数:32,代码来源:ConfigurationtreeToExpression_AbstractImpl.cs


示例2: Translate_Step2

        //────────────────────────────────────────
        public override void Translate_Step2(
            ConfigurationtreeToFunction_Item parentProcesser,
            Configurationtree_Node action_Conf,
            Expression_Node_Function parent_Expr_Func,//todo:何これ?
            MemoryApplication owner_MemoryApplication,
            Log_TextIndented_ConfigurationtreeToExpression pg_ParsingLog,
            Log_Reports log_Reports
            )
        {
            Expression_Node_String ec_ArgListboxName;
            parent_Expr_Func.TrySelectAttribute(out ec_ArgListboxName, Expression_Node_Function20Impl.PM_NAME_CONTROL_LISTBOX, EnumHitcount.One_Or_Zero, log_Reports);

            if ("" == ec_ArgListboxName.Execute4_OnExpressionString(EnumHitcount.Unconstraint, log_Reports))
            {
                // 引数 listboxFcName が指定されていない場合は、その記述が書かれているコントロールの名前を入れる。

                Configuration_Node cf_Event = action_Conf.GetParentByNodename(
                    NamesNode.S_EVENT, EnumConfiguration.Unknown, true, log_Reports);
                if (log_Reports.Successful)
                {
                    Configuration_Node parent_Configurationtree_Control = cf_Event.GetParentByNodename(
                        NamesNode.S_CONTROL1, EnumConfiguration.Tree, true, log_Reports);

                    string sName_Usercontrol;
                    ((Configurationtree_Node)parent_Configurationtree_Control).Dictionary_Attribute.TryGetValue(PmNames.S_NAME, out sName_Usercontrol, true, log_Reports);
                    ec_ArgListboxName.AppendTextNode(sName_Usercontrol, action_Conf, log_Reports);
                }
            }
        }
开发者ID:muzudho,项目名称:CSVExE,代码行数:30,代码来源:ConfigurationtreeToFunction20_ItemImpl.cs


示例3: ConfigurationtreeToFunction

        //────────────────────────────────────────
        /// <summary>
        /// イベントハンドラーの作成。
        /// </summary>
        /// <param name="s_Action"></param>
        /// <param name="log_Reports"></param>
        /// <returns></returns>
        public Expression_Node_Function ConfigurationtreeToFunction(
            Configurationtree_Node action_Conf,
            MemoryApplication owner_MemoryApplication,
            Log_Reports log_Reports
            )
        {
            Log_Method log_Method = new Log_MethodImpl(0, Log_ReportsImpl.BDebugmode_Static);
            log_Method.BeginMethod(Info_Functions.Name_Library, this, "ConfigurationtreeToFunction",log_Reports);

            if (log_Reports.CanStopwatch)
            {
                log_Method.Log_Stopwatch.Begin();
            }
            //

            Expression_Node_Function expr_Func;
            if (log_Reports.Successful)
            {
                expr_Func = owner_MemoryApplication.MemoryForms.ConfigurationtreeToFunction.Translate(
                    action_Conf,
                    true,
                    log_Reports
                    );
            }
            else
            {
                expr_Func = null;
            }

            goto gt_EndMethod;
            //
            gt_EndMethod:
            log_Method.EndMethod(log_Reports);
            return expr_Func;
        }
开发者ID:muzudho,项目名称:CSVExE,代码行数:42,代码来源:Executer3_FunctionImpl.cs


示例4: MemoryAatoolxmlDialogImpl

 //────────────────────────────────────────
 public MemoryAatoolxmlDialogImpl(MemoryApplication owner_MemoryApplication)
 {
     this.Name_SelectedEditor = "";
     this.Name_Application = "";
     this.memoryAatoolxml = new MemoryAatoolxmlImpl(owner_MemoryApplication);
     this.dictionary_Editor = new Dictionary_Fsetvar_ConfigurationtreeImpl();
 }
开发者ID:muzudho,项目名称:CSVExE,代码行数:8,代码来源:MemoryAatoolxmlDialogImpl.cs


示例5: Parse_ChildNodes

 //────────────────────────────────────────
 protected override void Parse_ChildNodes(
     XmlElement cur_X,
     Configurationtree_Node cf_Cur,
     MemoryApplication memoryApplication,
     Log_Reports log_Reports
     )
 {
 }
开发者ID:muzudho,项目名称:CSVExE,代码行数:9,代码来源:XmlToConfigurationtree_V_4ASelectRecordImpl_.cs


示例6: Expression_FvarImpl

 //────────────────────────────────────────
 /// <summary>
 /// コンストラクター。
 /// </summary>
 /// <param name="s_ParentNode"></param>
 /// <param name="moOpyopyo"></param>
 public Expression_FvarImpl(
     Expression_Node_String parent_Expression_Node,
     Configuration_Node parent_Configuration_Node,
     MemoryApplication owner_MemoryApplication
     )
     : base(parent_Expression_Node, parent_Configuration_Node, owner_MemoryApplication)
 {
 }
开发者ID:muzudho,项目名称:CSVExE,代码行数:14,代码来源:Expression_FvarImpl.cs


示例7: Clear

        //────────────────────────────────────────
        /// <summary>
        /// クリアーします。
        /// </summary>
        public void Clear(MemoryApplication owner_MemoryApplication)
        {
            this.owner_MemoryApplication = owner_MemoryApplication;
            this.xToConfigurationtree_V = new XmlToConfigurationtree_Validator_ConfigImpl();
            this.givechapterandverseToExpression_V = new ConfigurationtreeToExpression_V51_ConfigImpl();

            this.givechapterandverse_Validatorsconfig = new Configurationtree_NodeImpl(NamesNode.S_CODEFILE_VALIDATORS, new Configurationtree_NodeImpl(this.GetType().Name + "#<init>", null));
        }
开发者ID:muzudho,项目名称:CSVExE,代码行数:12,代码来源:MemoryValidatorsImpl.cs


示例8: CreateMyself

        //────────────────────────────────────────
        protected override Configurationtree_Node CreateMyself(
            XmlElement cur_X, Configurationtree_Node parent_Cf, MemoryApplication memoryApplication, Log_Reports log_Reports)
        {
            Configurationtree_Node cur_Cf;
            cur_Cf = new Configurationtree_NodeImpl(NamesNode.S_F_LISTBOX_VALIDATION, parent_Cf);

            return cur_Cf;
        }
开发者ID:muzudho,项目名称:CSVExE,代码行数:9,代码来源:XmlToConfigurationtree_V_3FListboxValidationImpl_.cs


示例9: ConfigurationtreeToFunction_ListImpl

 //────────────────────────────────────────
 /// <summary>
 /// コンストラクター。
 /// </summary>
 /// <param name="form"></param>
 public ConfigurationtreeToFunction_ListImpl(
     Expression_Node_String parent_Expression,
     Configuration_Node cur_Conf,
     MemoryApplication owner_MemoryApplication,
     Log_Reports log_Reports
     )
 {
     this.owner_MemoryApplication = owner_MemoryApplication;
 }
开发者ID:muzudho,项目名称:CSVExE,代码行数:14,代码来源:ConfigurationtreeToFunction_ListImpl.cs


示例10: Translate

 //────────────────────────────────────────
 /// <summary>
 /// 未実装。
 /// </summary>
 /// <param name="oFStrNode"></param>
 /// <param name="nFAelem"></param>
 /// <param name="memoryApplication"></param>
 /// <param name="log_Reports"></param>
 public override void Translate(
     Configurationtree_Node cur_Cf,//<def-param>
     Expression_Node_String parent_Ec,//親<●●>要素。汎用。
     MemoryApplication memoryApplication,
     Log_TextIndented_ConfigurationtreeToExpression pg_ParsingLog,
     Log_Reports log_Reports
     )
 {
 }
开发者ID:muzudho,项目名称:CSVExE,代码行数:17,代码来源:ConfigurationtreeToExpression_F14_DefParamImpl_.cs


示例11: Expressionv_3FListboxValidationImpl

        //"f-listbox-for-items",
        //────────────────────────────────────────
        public Expressionv_3FListboxValidationImpl(
            Expression_Node_String parent_Expression, Configurationtree_Node parent_Conf, MemoryApplication owner_MemoryApplication)
            : base(parent_Expression, parent_Conf, owner_MemoryApplication)
        {
            this.Owner_MemoryApplication = owner_MemoryApplication;

            this.list_Expressionv_ADisplay = new List<Expressionv_4ADisplay>();
            this.list_Expressionv_ASelectRecord = new List<Expressionv_4ASelectRecord>();
        }
开发者ID:muzudho,项目名称:CSVExE,代码行数:11,代码来源:Expressionv_3FListboxValidationImpl.cs


示例12: CreateFunctionlist

        //────────────────────────────────────────

        /// <summary>
        /// イベント アクション リストを作成します。
        /// </summary>
        /// <param nFcName="eventName"></param>
        /// <param nFcName="nActionSuper"></param>
        /// <param nFcName="log_Reports"></param>
        public Functionlist CreateFunctionlist(
            ConfigurationtreeToExpression_Event sToE_Event,
            MemoryApplication owner_MemoryApplication,
            Log_Reports log_Reports
            )
        {
            Log_Method pg_Method = new Log_MethodImpl(0, Log_ReportsImpl.BDebugmode_Static);
            pg_Method.BeginMethod(Info_Controls.Name_Library, this, "CreateFunctionlist",log_Reports);
            //
            //
            Functionlist fw_Result = null;

            //.WriteLine(this.GetType().Name + "#CreateEventActionList: <構築>【開始】 イベントに対応ついたアクションリストを追加します。 (ウィンドウ)");

            switch (sToE_Event.Name)
            {
                case NamesSe.S_LOAD:
                    {
                        //
                        // このコントロールの「アプリケーション起動時」。
                        //
                        //  (NActionPerformEnum.O_EA)
                        //

                        //
                        // 無視します。
                        //
                    }
                    break;

                default:
                    goto gt_Error_NotSupportedEvent;
            }

            goto gt_EndMethod;
        //
        //
            #region 異常系
        //────────────────────────────────────────
        gt_Error_NotSupportedEvent:
            {
                Builder_TexttemplateP1p tmpl = new Builder_TexttemplateP1pImpl();
                tmpl.SetParameter(1, this.GetType().Name, log_Reports);//クラス名
                tmpl.SetParameter(2, sToE_Event.Name, log_Reports);//イベント名
                tmpl.SetParameter(3, Log_RecordReportsImpl.ToText_Configuration(sToE_Event.Configurationtree_Event), log_Reports);//設定位置パンくずリスト

                this.ControlCommon.Owner_MemoryApplication.CreateErrorReport("Er:515;", tmpl, log_Reports);
            }
            goto gt_EndMethod;
        //────────────────────────────────────────
            #endregion
        //
        //
        gt_EndMethod:
            pg_Method.EndMethod(log_Reports);
            return fw_Result;
        }
开发者ID:muzudho,项目名称:CSVExE,代码行数:65,代码来源:UsercontrolWindow.cs


示例13: LinkToParent

        //────────────────────────────────────────
        protected override void LinkToParent(Configurationtree_Node cur_Cf, Configurationtree_Node parent_Cf, MemoryApplication memoryApplication, Log_Reports log_Reports)
        {
            Usercontrol uct = null;
            if (log_Reports.Successful)
            {
                uct = Utility_XmlToConfigurationtree_NodeImpl.GetUsercontrol(cur_Cf, memoryApplication, log_Reports);
            }

            uct.ControlCommon.Configurationtree_Control.List_Child.Add(cur_Cf, log_Reports);
        }
开发者ID:muzudho,项目名称:CSVExE,代码行数:11,代码来源:XmlToConfigurationtree_V52_ControlImpl_.cs


示例14: Expressionv_4ASelectRecordImpl

 //
 //────────────────────────────────────────
 public Expressionv_4ASelectRecordImpl(Expression_Node_String parent_Expression_Node, Configurationtree_Node parent_Configurationtree_Node, MemoryApplication owner_MemoryApplication)
     : base(parent_Expression_Node, parent_Configurationtree_Node, owner_MemoryApplication)
 {
     this.expression_Field = new Expression_Node_StringImpl(parent_Expression_Node, parent_Configurationtree_Node);
     this.expression_LookupVal = new Expression_Node_StringImpl(parent_Expression_Node, parent_Configurationtree_Node);
     this.expression_Required = new Expression_Node_StringImpl(parent_Expression_Node, parent_Configurationtree_Node);
     this.expression_From = new Expression_Node_StringImpl(parent_Expression_Node, parent_Configurationtree_Node);
     this.expression_Storage = new Expression_Node_StringImpl(parent_Expression_Node, parent_Configurationtree_Node);
     this.expression_Description = new Expression_Node_StringImpl(parent_Expression_Node, parent_Configurationtree_Node);
 }
开发者ID:muzudho,项目名称:CSVExE,代码行数:12,代码来源:Expressionv_4ASelectRecordImpl.cs


示例15: Expression_ValuecontrolImpl

 //────────────────────────────────────────
 /// <summary>
 /// コンストラクター。
 /// </summary>
 /// <param name="moOpyopyo"></param>
 /// <param name="s_ParentNode"></param>
 public Expression_ValuecontrolImpl(
     Expression_Node_String ec_FcName,
     MemoryApplication owner_MemoryApplication,
     Expression_Node_String parent_Expression_Node,
     Configurationtree_Node parent_Configurationtree_Node
     )
     : base(parent_Expression_Node, parent_Configurationtree_Node, owner_MemoryApplication)
 {
     this.expression_UsercontrolName = ec_FcName;
 }
开发者ID:muzudho,项目名称:CSVExE,代码行数:16,代码来源:Expression_ValuecontrolImpl.cs


示例16: Functionlist_FormImpl

        //────────────────────────────────────────
        /// <summary>
        /// コンストラクター。
        /// </summary>
        /// <param nFcName="nActionPerformEnum"></param>
        /// <param nFcName="oWrittenPlace"></param>
        public Functionlist_FormImpl(
            ConfigurationtreeToExpression_Event sToE_Event,
            MemoryApplication owner_MemoryApplication
            )
            : base(null/*parent_Expression*/, null/*cur_Conf*/)
        {
            this.ConfigurationtreeToExpression_Event = sToE_Event;

            this.list_Item = new List<Expression_Node_Function>();
            this.sType = "!ハードコーディング_" + this.GetType().Name + "#<init>";
        }
开发者ID:muzudho,项目名称:CSVExE,代码行数:17,代码来源:Functionlist_FormImpl.cs


示例17: CreateMyself

        //────────────────────────────────────────
        protected override Configurationtree_Node CreateMyself(
            XmlElement cur_X,
            Configurationtree_Node parent_Cf,
            MemoryApplication memoryApplication,
            Log_Reports log_Reports
            )
        {
            Configurationtree_Node cf_Cur;
            cf_Cur = new Configurationtree_NodeImpl(NamesNode.S_FNC, parent_Cf);

            return cf_Cur;
        }
开发者ID:muzudho,项目名称:CSVExE,代码行数:13,代码来源:XmlToConfigurationtree_V_4ASelectRecordImpl_.cs


示例18: Execute1_AllUsercontrols

        //────────────────────────────────────────
        /// <summary>
        /// 実行。
        /// 
        /// 全てのコントロールの、指定のイベントを実行します。
        /// 
        /// アプリケーション起動時に、"OnLoad"を全て実行するなど。
        /// 
        /// 別の関数から呼び出されます。
        /// </summary>
        /// <param name="oEventName"></param>
        /// <param name="oEventName"></param>
        /// <param name="log_Reports"></param>
        public void Execute1_AllUsercontrols(
            List<string> sFcNameList,
            object sender,
            XenonName o_Name_Event,
            MemoryApplication owner_MemoryApplication,
            Log_Reports log_Reports
            )
        {
            Log_Method log_Method = new Log_MethodImpl(0, Log_ReportsImpl.BDebugmode_Static);
            log_Method.BeginMethod(Info_Functions.Name_Library, this, "Execute1_AllUsercontrols", log_Reports);
            //
            //
            Configurationtree_Node cf_ThisMethod = new Configurationtree_NodeImpl(log_Method.Fullname, null);

            foreach (string sName_Usercontrol in sFcNameList)
            {
                if ("" == sName_Usercontrol)
                {
                    // 空行。飛ばす。
                    goto end_row;
                }

                Expression_Leaf_StringImpl ec_FcName = new Expression_Leaf_StringImpl(null, cf_ThisMethod);
                ec_FcName.SetString( sName_Usercontrol, log_Reports);

                List<Usercontrol> list_UcFc = owner_MemoryApplication.MemoryForms.GetUsercontrolsByName(ec_FcName, true, log_Reports);
                if (list_UcFc.Count < 1)
                {
                    // 正常。
                    // 特に設定をすることのないコントロールは、XMLファイルが用意されていない。
                    // 無視する。
                }
                else
                {
                    Usercontrol ucFc = list_UcFc[0];

                    this.Execute1_UsercontrolImpl(
                        sender,
                        ucFc,
                        o_Name_Event,
                        owner_MemoryApplication,
                        log_Reports
                        );
                }

            end_row:
                ;
            }

            //
            //
            log_Method.EndMethod(log_Reports);
        }
开发者ID:muzudho,项目名称:CSVExE,代码行数:66,代码来源:Executer1_UsercontrolAndEventImpl.cs


示例19: Perform

        //────────────────────────────────────────
        public Usercontrol Perform(
            Expression_Node_StringImpl ec_FcName,
            MemoryApplication owner_MemoryApplication
            )
        {
            UsercontrolNumericUpDown uctNum = new UsercontrolNumericUpDown();

            // 名前だけ初期設定
            uctNum.Expression_Name_Control = ec_FcName;
            uctNum.ControlCommon.Owner_MemoryApplication = owner_MemoryApplication;

            return uctNum;
        }
开发者ID:muzudho,项目名称:CSVExE,代码行数:14,代码来源:UcontrolCreator2_NumImpl.cs


示例20: Perform

        //────────────────────────────────────────
        public Usercontrol Perform(
            Expression_Node_StringImpl ec_FcName,
            MemoryApplication owner_MemoryApplication
            )
        {
            UsercontrolPanel uctPnl = new UsercontrolPanel();

            // 名前だけ初期設定
            uctPnl.Expression_Name_Control = ec_FcName;
            uctPnl.ControlCommon.Owner_MemoryApplication = owner_MemoryApplication;

            return uctPnl;
        }
开发者ID:muzudho,项目名称:CSVExE,代码行数:14,代码来源:UcontrolCreator2_PnlImpl.cs



注:本文中的MemoryApplication类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# MemoryMappedFileAccess类代码示例发布时间:2022-05-24
下一篇:
C# Memory类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap