Beispiel #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "D:\Учеба\6 семестр\Web\daniil.haibullin.931705-master\Lab2\Lab2\Views\Calc\ModelBindingSeparateModel.cshtml"

            ViewData["Title"] = "ModelBindingSeparateModel";

#line default
#line hidden
            BeginContext(58, 1, true);
            WriteLiteral("\n");
            EndContext();
            BeginContext(81, 35, true);
            WriteLiteral("<h2>ModelBindingSeparateModel</h2>\n");
            EndContext();
            BeginContext(116, 295, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "a6e3170411a2495d8d14ef72fe0c66ac", async() => {
                BeginContext(159, 72, true);
                WriteLiteral("\n    <input name=\"first_value\" />\n    <select name=\"operation\">\n        ");
                EndContext();
                BeginContext(231, 17, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("Operation", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "5d398c81c4eb4db1bf0afc2823909f1c", async() => {
                }
                                                                            );
                __Lab2_App_code_OperationAddTagHelper = CreateTagHelper <global::Lab2.App_code.OperationAddTagHelper>();
                __tagHelperExecutionContext.Add(__Lab2_App_code_OperationAddTagHelper);
                BeginWriteTagHelperAttribute();
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __tagHelperExecutionContext.AddHtmlAttribute("Add", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(248, 9, true);
                WriteLiteral("\n        ");
                EndContext();
                BeginContext(257, 17, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("Operation", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e06132f6299846edac0d69ae3e1ca6b4", async() => {
                }
                                                                            );
                __Lab2_App_code_OperationSubTagHelper = CreateTagHelper <global::Lab2.App_code.OperationSubTagHelper>();
                __tagHelperExecutionContext.Add(__Lab2_App_code_OperationSubTagHelper);
                BeginWriteTagHelperAttribute();
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __tagHelperExecutionContext.AddHtmlAttribute("Sub", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(274, 9, true);
                WriteLiteral("\n        ");
                EndContext();
                BeginContext(283, 18, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("Operation", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "c26195be560041c18b8a06646e30815f", async() => {
                }
                                                                            );
                __Lab2_App_code_OperationMultTagHelper = CreateTagHelper <global::Lab2.App_code.OperationMultTagHelper>();
                __tagHelperExecutionContext.Add(__Lab2_App_code_OperationMultTagHelper);
                BeginWriteTagHelperAttribute();
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __tagHelperExecutionContext.AddHtmlAttribute("Mult", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(301, 9, true);
                WriteLiteral("\n        ");
                EndContext();
                BeginContext(310, 17, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("Operation", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "35af50effede42b098236207e405be84", async() => {
                }
                                                                            );
                __Lab2_App_code_OperationDivTagHelper = CreateTagHelper <global::Lab2.App_code.OperationDivTagHelper>();
                __tagHelperExecutionContext.Add(__Lab2_App_code_OperationDivTagHelper);
                BeginWriteTagHelperAttribute();
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __tagHelperExecutionContext.AddHtmlAttribute("Div", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(327, 77, true);
                WriteLiteral("\n    </select>\n    <input name=\"second_value\" />\n    <input type=\"submit\" />\n");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
        }
Beispiel #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "C:\Users\danil\Downloads\Lab2-20200606T083631Z-001\Lab2\Lab2\Views\Calc\ModelBindingSeparateModel.cshtml"

            ViewData["Title"] = "ModelBindingSeparateModel";

#line default
#line hidden
            BeginContext(61, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            BeginContext(86, 36, true);
            WriteLiteral("<h2>ModelBindingSeparateModel</h2>\r\n");
            EndContext();
            BeginContext(122, 305, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "500a179779b84397a70ffdfedb0b3e7d", async() => {
                BeginContext(165, 75, true);
                WriteLiteral("\r\n    <input name=\"first_value\" />\r\n    <select name=\"operation\">\r\n        ");
                EndContext();
                BeginContext(240, 17, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("Operation", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e3e54931cd214577b40035a012c61e1d", async() => {
                }
                                                                            );
                __Lab2_App_code_OperationAddTagHelper = CreateTagHelper <global::Lab2.App_code.OperationAddTagHelper>();
                __tagHelperExecutionContext.Add(__Lab2_App_code_OperationAddTagHelper);
                BeginWriteTagHelperAttribute();
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __tagHelperExecutionContext.AddHtmlAttribute("Add", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(257, 10, true);
                WriteLiteral("\r\n        ");
                EndContext();
                BeginContext(267, 17, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("Operation", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "e93dbf43aad74bebabd7c3dfac46dea0", async() => {
                }
                                                                            );
                __Lab2_App_code_OperationSubTagHelper = CreateTagHelper <global::Lab2.App_code.OperationSubTagHelper>();
                __tagHelperExecutionContext.Add(__Lab2_App_code_OperationSubTagHelper);
                BeginWriteTagHelperAttribute();
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __tagHelperExecutionContext.AddHtmlAttribute("Sub", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(284, 10, true);
                WriteLiteral("\r\n        ");
                EndContext();
                BeginContext(294, 18, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("Operation", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "a77ae0f697094287908f0744cfb5df05", async() => {
                }
                                                                            );
                __Lab2_App_code_OperationMultTagHelper = CreateTagHelper <global::Lab2.App_code.OperationMultTagHelper>();
                __tagHelperExecutionContext.Add(__Lab2_App_code_OperationMultTagHelper);
                BeginWriteTagHelperAttribute();
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __tagHelperExecutionContext.AddHtmlAttribute("Mult", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(312, 10, true);
                WriteLiteral("\r\n        ");
                EndContext();
                BeginContext(322, 17, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("Operation", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "0400a3a413c44a0193548e8b700ed2ce", async() => {
                }
                                                                            );
                __Lab2_App_code_OperationDivTagHelper = CreateTagHelper <global::Lab2.App_code.OperationDivTagHelper>();
                __tagHelperExecutionContext.Add(__Lab2_App_code_OperationDivTagHelper);
                BeginWriteTagHelperAttribute();
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __tagHelperExecutionContext.AddHtmlAttribute("Div", Html.Raw(__tagHelperStringValueBuffer), global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.Minimized);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(339, 81, true);
                WriteLiteral("\r\n    </select>\r\n    <input name=\"second_value\" />\r\n    <input type=\"submit\" />\r\n");
                EndContext();
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
        }