Ejemplo n.º 1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(0, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 2 "E:\Vignesh Workouts\NET Core\VSCodeWorkouts\MVCProject\MVCProject\Views\Home\Index.cshtml"

            ViewData["Title"] = "Index";

#line default
#line hidden
            BeginContext(43, 20, true);
            WriteLiteral("\r\n<h2>Index</h2>\r\n\r\n");
            EndContext();
            BeginContext(63, 36, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("email", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9ffcd79435074c76abd0c621fba58d61", async() => {
            }
                                                                        );
            __MVCProject_TagHelpers_EmailTagHelper = CreateTagHelper <global::MVCProject.TagHelpers.EmailTagHelper>();
            __tagHelperExecutionContext.Add(__MVCProject_TagHelpers_EmailTagHelper);
            __MVCProject_TagHelpers_EmailTagHelper.MailTo = (string)__tagHelperAttribute_0.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(99, 10, true);
            WriteLiteral("\r\n<br />\r\n");
            EndContext();
            BeginContext(109, 57, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("thumbnail", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "95c9b3f915074d309e28821cad166754", async() => {
            }
                                                                        );
            __MVCProject_TagHelpers_ThumbnailTagHelper = CreateTagHelper <global::MVCProject.TagHelpers.ThumbnailTagHelper>();
            __tagHelperExecutionContext.Add(__MVCProject_TagHelpers_ThumbnailTagHelper);
            __MVCProject_TagHelpers_ThumbnailTagHelper.ImagePath = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __MVCProject_TagHelpers_ThumbnailTagHelper.Caption = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(166, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
        }
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(37, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "E:\Vignesh Workouts\NET Core\VSCodeWorkouts\MVCProject\MVCProject\Views\Gallery\GetImage.cshtml"

            ViewData["Title"] = "GetImage";

#line default
#line hidden
            BeginContext(83, 89, true);
            WriteLiteral("\r\n<h2>GetImage</h2>\r\n\r\n<div class=\"row\">\r\n    <div class=\"form-group col-sm-8\">\r\n        ");
            EndContext();
            BeginContext(172, 971, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7eb42bb227e14e7a8ce726cd8d387191", async() => {
                BeginContext(269, 14, true);
                WriteLiteral("\r\n            ");
                EndContext();
                BeginContext(283, 66, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("div", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d397edcfb51d4fb49d3823691aea734d", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.ValidationSummaryTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper);
#line 12 "E:\Vignesh Workouts\NET Core\VSCodeWorkouts\MVCProject\MVCProject\Views\Gallery\GetImage.cshtml"
                __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary = global::Microsoft.AspNetCore.Mvc.Rendering.ValidationSummary.ModelOnly;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("asp-validation-summary", __Microsoft_AspNetCore_Mvc_TagHelpers_ValidationSummaryTagHelper.ValidationSummary, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(349, 787, true);
                WriteLiteral(@"
            <div class=""form-group"">
                <label for=""Caption"" class=""control-label col-sm-1"">Caption</label>
                <input type=""text"" name=""Caption"" class=""input-group"" />
            </div>
            <div class=""form-group"">
                <label for=""Caption"" class=""control-label col-sm-1"">Description</label>
                <input type=""text"" name=""Description"" class=""input-group"" />
            </div>
            <div class=""form-group"">
                <label for=""Upload"" class=""control-label col-sm-1"">Upload File</label>
                <input type=""file"" name=""file"" />
            </div>
            <div class=""form-group"">
                <input type=""submit"" value=""Create"" class=""btn btn-default"" />
            </div>
        ");
                EndContext();
            }
                                                                        );
            __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.Action = (string)__tagHelperAttribute_1.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_2.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
            __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_3.Value;
            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1143, 638, true);
            WriteLiteral(@"
    </div>

</div>
<div class=""table-bordered "" style=""padding:10px;border:1px solid black"">
    <div class=""row"">
        <div class=""col-sm-2 text-primary"">
            <span>Image</span>
        </div>
        <div class=""col-sm-2 text-primary"">
            <span>Description</span>
        </div>
        <div class=""col-sm-2 text-primary"">
            <span>File Url</span>
        </div>
        <div class=""col-sm-2 text-primary"">
            <span>Posted By</span>
        </div>
        <div class=""col-sm-2 text-primary"">
            <span>Posted Date</span>
        </div>
    </div>
    <br /><br />

");
            EndContext();
#line 52 "E:\Vignesh Workouts\NET Core\VSCodeWorkouts\MVCProject\MVCProject\Views\Gallery\GetImage.cshtml"
            if (ViewBag.Images.Count > 0)
            {
                foreach (var item in ViewBag.Images)
                {
#line default
#line hidden
                    BeginContext(1881, 132, true);
                    WriteLiteral("            <div class=\"row\" style=\"border:0.1px inset;padding:20px;\">\r\n                <div class=\"col-sm-2\">\r\n                    ");
                    EndContext();
                    BeginContext(2013, 71, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("thumbnail", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d47f1968f3dd448e93f73c1cfea92315", async() => {
                    }
                                                                                );
                    __MVCProject_TagHelpers_ThumbnailTagHelper = CreateTagHelper <global::MVCProject.TagHelpers.ThumbnailTagHelper>();
                    __tagHelperExecutionContext.Add(__MVCProject_TagHelpers_ThumbnailTagHelper);
                    BeginWriteTagHelperAttribute();
#line 58 "E:\Vignesh Workouts\NET Core\VSCodeWorkouts\MVCProject\MVCProject\Views\Gallery\GetImage.cshtml"
                    WriteLiteral(item.ImageUrl);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __MVCProject_TagHelpers_ThumbnailTagHelper.ImagePath = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("image-path", __MVCProject_TagHelpers_ThumbnailTagHelper.ImagePath, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    BeginWriteTagHelperAttribute();
#line 58 "E:\Vignesh Workouts\NET Core\VSCodeWorkouts\MVCProject\MVCProject\Views\Gallery\GetImage.cshtml"
                    WriteLiteral(item.Caption);

#line default
#line hidden
                    __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                    __MVCProject_TagHelpers_ThumbnailTagHelper.Caption = __tagHelperStringValueBuffer;
                    __tagHelperExecutionContext.AddTagHelperAttribute("caption", __MVCProject_TagHelpers_ThumbnailTagHelper.Caption, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2084, 92, true);
                    WriteLiteral("\r\n                </div>\r\n                <div class=\"col-sm-2\">\r\n                    <span>");
                    EndContext();
                    BeginContext(2177, 16, false);
#line 61 "E:\Vignesh Workouts\NET Core\VSCodeWorkouts\MVCProject\MVCProject\Views\Gallery\GetImage.cshtml"
                    Write(item.Description);

#line default
#line hidden
                    EndContext();
                    BeginContext(2193, 99, true);
                    WriteLiteral("</span>\r\n                </div>\r\n                <div class=\"col-sm-2\">\r\n                    <span>");
                    EndContext();
                    BeginContext(2293, 13, false);
#line 64 "E:\Vignesh Workouts\NET Core\VSCodeWorkouts\MVCProject\MVCProject\Views\Gallery\GetImage.cshtml"
                    Write(item.ImageUrl);

#line default
#line hidden
                    EndContext();
                    BeginContext(2306, 99, true);
                    WriteLiteral("</span>\r\n                </div>\r\n                <div class=\"col-sm-2\">\r\n                    <span>");
                    EndContext();
                    BeginContext(2406, 13, false);
#line 67 "E:\Vignesh Workouts\NET Core\VSCodeWorkouts\MVCProject\MVCProject\Views\Gallery\GetImage.cshtml"
                    Write(item.PostedBy);

#line default
#line hidden
                    EndContext();
                    BeginContext(2419, 99, true);
                    WriteLiteral("</span>\r\n                </div>\r\n                <div class=\"col-sm-2\">\r\n                    <span>");
                    EndContext();
                    BeginContext(2519, 15, false);
#line 70 "E:\Vignesh Workouts\NET Core\VSCodeWorkouts\MVCProject\MVCProject\Views\Gallery\GetImage.cshtml"
                    Write(item.PostedDate);

#line default
#line hidden
                    EndContext();
                    BeginContext(2534, 53, true);
                    WriteLiteral("</span>\r\n                </div>\r\n            </div>\r\n");
                    EndContext();
#line 73 "E:\Vignesh Workouts\NET Core\VSCodeWorkouts\MVCProject\MVCProject\Views\Gallery\GetImage.cshtml"
                }
            }

#line default
#line hidden
            BeginContext(2609, 10, true);
            WriteLiteral("</div>\r\n\r\n");
            EndContext();
            BeginContext(2868, 6, true);
            WriteLiteral("\r\n\r\n\r\n");
            EndContext();
        }