Exemplo n.º 1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(0, 93, true);
            WriteLiteral("<h1>Contact us</h1>\r\n<p>if you have any question please do not hesitate to contact us</p>\r\n\r\n");
            EndContext();
            BeginContext(93, 76, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("email", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6d20024e660d4e44b515c5bd98a46e68", async() => {
            }
                                                                        );
            __DrinkAndGo_TagHelpers_EmailTagHelper = CreateTagHelper <global::DrinkAndGo.TagHelpers.EmailTagHelper>();
            __tagHelperExecutionContext.Add(__DrinkAndGo_TagHelpers_EmailTagHelper);
            __DrinkAndGo_TagHelpers_EmailTagHelper.Address = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            __DrinkAndGo_TagHelpers_EmailTagHelper.Content = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
        }
Exemplo n.º 2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(0, 96, true);
            WriteLiteral("\r\n<h1>Contact us </h1>\r\n<p>If you have any questions please do not hesitate to contact us:</p>\r\n");
            EndContext();
            BeginContext(96, 62, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("email", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "cf05ecb596f14ddd9810861274900647", async() => {
            }
                                                                        );
            __DrinkAndGo_TagHelpers_EmailTagHelper = CreateTagHelper <global::DrinkAndGo.TagHelpers.EmailTagHelper>();
            __tagHelperExecutionContext.Add(__DrinkAndGo_TagHelpers_EmailTagHelper);
            __DrinkAndGo_TagHelpers_EmailTagHelper.Address = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            __DrinkAndGo_TagHelpers_EmailTagHelper.Content = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(158, 44, true);
            WriteLiteral("\r\n<br />\r\n\r\n<p>Phone Number: 3887340893 </p>");
            EndContext();
        }