コード例 #1
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 64, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / VirtualScrolling </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(115, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(117, 501, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "dc1b8039269847d49b7a1e4079ffcb09", async() => {
                    BeginContext(340, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(346, 251, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0fde1af1637d47849eb429fe31ee41bf", async() => {
                        BeginContext(368, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(378, 58, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e9a496971fdf44b2b2cf0d3cfc896b7c", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(436, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(446, 60, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d2a317744d904483a0b84d023598362a", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(506, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(516, 52, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "43d2357c22df4feea987744aa5ac384e", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(568, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(597, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                BeginWriteTagHelperAttribute();
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\VirtualScrolling.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\VirtualScrolling.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.VirtualItemCount = 20;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("virtual-item-count", __Syncfusion_JavaScript_Models_FileExplorerProperties.VirtualItemCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\VirtualScrolling.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\VirtualScrolling.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.Tile;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.MinWidth = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(618, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
        }
コード例 #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 51, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / RTL </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(102, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(108, 493, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "762278e13eec432c8c464730d66da26c", async() => {
                    BeginContext(302, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(312, 264, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f8f20d6c2263440ba25d8ed604c18bd7", async() => {
                        BeginContext(334, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(348, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2429fe87e3664394b5caf8e6ab4c5e94", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(405, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(419, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "13f3fbe86b4b44adb6dcd700edead8e2", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(478, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(492, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3c3cee9fdd2742e7a3ec0af7f7fee79c", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(543, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(576, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\RTL.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.LargeIcons;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\RTL.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.EnableRTL = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-rtl", __Syncfusion_JavaScript_Models_FileExplorerProperties.EnableRTL, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\RTL.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\RTL.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, 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(601, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
        }
コード例 #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 67, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / Custom Context Menu </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(118, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(124, 1695, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e2d370c2134e495fb02c2f4d467a89cf", async() => {
                    BeginContext(362, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(372, 264, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b2d47b30251148ccb5140a169732e7c0", async() => {
                        BeginContext(394, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(408, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7285e33f4cac4ed48bc52728f66912b4", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(465, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(479, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9026f7943cc147c19a1088211e52587f", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(538, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(552, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "48dcdf21f57243708982cb824cedb026", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(603, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(636, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(646, 1148, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-context-menu-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "304c4a674eee4b8fa36498cd9db16856", async() => {
                        BeginContext(676, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(690, 469, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1c7133f7b9c64738851f2f2f746a1a47", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_FileExplorerItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerItems>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerItems);
#line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                        __Syncfusion_JavaScript_Models_FileExplorerItems.Navbar = new List <string>()
                        {
                            "Upload", "|", "Delete", "Rename", "|", "Cut", "Copy", "Paste", "|", "Getinfo"
                        };

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("navbar", __Syncfusion_JavaScript_Models_FileExplorerItems.Navbar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
#line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                        __Syncfusion_JavaScript_Models_FileExplorerItems.Cwd = new List <string>()
                        {
                            "Refresh", "Paste", "|", "SortBy", "View", "|", "NewFolder", "Upload", "|", "Getinfo"
                        };

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("cwd", __Syncfusion_JavaScript_Models_FileExplorerItems.Cwd, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                        __Syncfusion_JavaScript_Models_FileExplorerItems.Files = new List <string>()
                        {
                            "Open", "Download", "|", "Delete", "Rename", "|", "Cut", "Copy", "Paste", "|",
                            "OpenFolderLocation", "Getinfo"
                        };

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("files", __Syncfusion_JavaScript_Models_FileExplorerItems.Files, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1159, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(1173, 580, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-custom-menu-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d261882a0d9a4a438e20e73fb9f6ff31", async() => {
                            BeginContext(1200, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1218, 493, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-menu-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d271f99e08534d7593b8d68242c79ded", async() => {
                                BeginContext(1289, 22, true);
                                WriteLiteral("\r\n                    ");
                                EndContext();
                                BeginContext(1311, 366, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f67faf7fb1ec4252b50cf3256547dd72", async() => {
                                    BeginContext(1326, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                    BeginContext(1352, 74, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f07342fbd13d4221b93c01f4d6d97ef2", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_3.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_4.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Action = (string)__tagHelperAttribute_5.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1426, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                    BeginContext(1452, 74, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5dfaace4bb1d42e1a9de354f088a8f03", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_6.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_7.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Action = (string)__tagHelperAttribute_5.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1526, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                    BeginContext(1552, 87, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "87c0eb9b6034465ab9dc1b2015aabc08", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_8.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_9.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Action = (string)__tagHelperAttribute_5.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1639, 22, true);
                                    WriteLiteral("\r\n                    ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_customMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.customMenuFields>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_customMenuFields);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1677, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_10.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_11.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.SpriteCssClass = (string)__tagHelperAttribute_12.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1711, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_customMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.customMenuFields>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_customMenuFields);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1753, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_FileExplorerContextMenuSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerContextMenuSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerContextMenuSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1794, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.LargeIcons;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.MenuOpen = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.LayoutChange = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1819, 209, true);
                WriteLiteral("\r\n\r\n<h6>\r\n    <span style=\"font-style:italic; margin-top: 5px;margin-left: 20%;\">\r\n        Note: A new custom ContextMenu item (\"View\") is added to Current Working Directory\'s ContextMenu\r\n    </span>\r\n</h6>\r\n");
                EndContext();
            }
                          );
            BeginContext(2031, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            DefineSection("ScriptSection", async() => {
                BeginContext(2058, 678, true);
                WriteLiteral(@"

<script>
    function onLayout(args) {
        var feObj = $('#fileExplorer').data(""ejFileExplorer"");
        feObj && feObj.option(""layout"", args.ID);
    }
    function onMenuOpen(args) {
        if (args.contextMenu == ""cwd"") {
            $("".fe-context-menu"").find("".e-fe-activeicon"").removeClass(""e-fe-activeicon"");
            $("".fe-context-menu"").find(""."" + this.model.layout).addClass(""e-fe-activeicon"");
        }
    }
    function onLayoutChange(args) {
        $("".fe-context-menu .View"").removeClass(""custom-grid custom-tile custom-largeicons"");
        $("".fe-context-menu .View"").addClass(""custom-"" + this.model.layout);
    }
</script>


");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2761, 268, true);
                WriteLiteral(@"
   <style>
    .fe-context-menu .custom-grid:before {
        content: ""\e7b9"";
    }

    .fe-context-menu .custom-largeicons:before {
        content: ""\e7bb"";
    }

    .fe-context-menu .custom-tile:before {
        content: ""\e7be"";
    }
</style>
");
                EndContext();
            }
                          );
            BeginContext(3032, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
コード例 #4
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 54, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / Events</span> ");
                EndContext();
            }
                          );
            BeginContext(80, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(107, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(113, 676, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "674b37e9ddea4afc925c3fc97a7ff244", async() => {
                    BeginContext(514, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(520, 248, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3802b9fe7525408c9e1a88ad62a1d83b", async() => {
                        BeginContext(542, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(552, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9c86038d9cea4fe7aef2a4a2189c01b4", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(609, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(619, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6fdedd2bd5184657947b06e3ea52a058", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(678, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(688, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ebf835fcd9464c6694620f540e429a81", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(739, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(768, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 4 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Events.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.Tile;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 4 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Events.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 4 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Events.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.LayoutChange = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Select = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.CreateFolder = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Remove = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Cut = (string)__tagHelperAttribute_10.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Copy = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Paste = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Open = (string)__tagHelperAttribute_13.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Unselect = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(789, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            BeginContext(794, 279, true);
            WriteLiteral(@"<div id=""target"">
    <ul>
        <li>layoutChange</li>
        <li>select</li>
        <li>unselect</li>
        <li>createFolder</li>
        <li>remove</li>
        <li>cut</li>
        <li>copy</li>
        <li>paste</li>
        <li>open</li>
    </ul>
</div>
");
            EndContext();
            DefineSection("EventsDropdown", async() => {
                BeginContext(1097, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(1103, 134, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "2143f7847c7e43d395e543df74b67c11", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_15);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
#line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Events.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.ShowCheckbox = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-checkbox", __Syncfusion_JavaScript_Models_DropDownListProperties.ShowCheckbox, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 28 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Events.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("check-all", __Syncfusion_JavaScript_Models_DropDownListProperties.CheckAll, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1237, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            BeginContext(1242, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptSection", async() => {
                BeginContext(1267, 3007, true);
                WriteLiteral(@"
    <script>
        var fileExplorerObj;
        function evtpropscheckedevent(args) {
            fileExplorerObj = $(""#fileExplorer"").data(""ejFileExplorer"");
            if (args.isChecked) {
                switch (args.selectedValue) {
                    case ""layoutChange"": fileExplorerObj.option(args.selectedValue, ""onLayoutChange""); break;
                    case ""select"": fileExplorerObj.option(args.selectedValue, ""onSelect""); break;
                    case ""unselect"": fileExplorerObj.option(args.selectedValue, ""onUnselect""); break;
                    case ""createFolder"": fileExplorerObj.option(args.selectedValue, ""onCreateFolder""); break;
                    case ""remove"": fileExplorerObj.option(args.selectedValue, ""onRemove""); break;
                    case ""cut"": fileExplorerObj.option(args.selectedValue, ""onCut""); break;
                    case ""copy"": fileExplorerObj.option(args.selectedValue, ""onCopy""); break;
                    case ""paste"": fileExplorerObj.option(args.se");
                WriteLiteral(@"lectedValue, ""onPaste""); break;
                    case ""open"": fileExplorerObj.option(args.selectedValue, ""onOpen""); break;
                }
            }
            else fileExplorerObj.option(args.selectedValue, null);
        }

        function onLayoutChange(args) {
            jQuery.addEventLog(""<span class='eventTitle'>Layout changed</span> to '"" + args.layoutType + ""' view."");
        }
        function onSelect(args) {
            jQuery.addEventLog(""'"" + args.name + ""' "" + args.nodeType + "" has been <span class='eventTitle'>selected</span>."");
        }
        function onUnselect(args) {
            jQuery.addEventLog(""'"" + args.name + ""' "" + args.nodeType + "" has been <span class='eventTitle'>unselected</span>."");
        }
        function onCreateFolder(args) {
            jQuery.addEventLog(""'"" + args.data.files[0].name + ""' Directory has been <span class='eventTitle'>created</span>."");
        }
        function onRemove(args) {
            jQuery.addEventLog(""'"" + arg");
                WriteLiteral(@"s.name + ""' "" + args.selectedItems[0].type + "" has been <span class='eventTitle'>removed</span>."");
        }
        function onCut(args) {
            jQuery.addEventLog(""'"" + args.name + ""' "" + args.selectedItems[0].type + "" has been <span class='eventTitle'>cut</span>."");
        }
        function onCopy(args) {
            jQuery.addEventLog(""'"" + args.name + ""' "" + args.selectedItems[0].type + "" has been <span class='eventTitle'>copied</span>."");
        }
        function onPaste(args) {
            jQuery.addEventLog(""'"" + args.selectedItems[0].name + ""' "" + args.selectedItems[0].type + "" has been <span class='eventTitle'>pasted</span>."");
        }
        function onOpen(args) {
            jQuery.addEventLog(""'"" + args.selectedItems[0].name + ""' "" + args.itemType + "" has been <span class='eventTitle'>opened</span>."");
        }
        function onClear() {
            jQuery.clearEventLog();
        }
    </script>
");
                EndContext();
            }
                          );
            BeginContext(4277, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
コード例 #5
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 58, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / CustomTool </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(109, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(115, 866, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2a5d5065411245f9b6b5095e26f6347b", async() => {
                    BeginContext(399, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(409, 264, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "813389b77c19423db31fdb6cb16b7800", async() => {
                        BeginContext(431, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(445, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c15fee6120ac4cc3ab64d962d43751fe", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(502, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(516, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "803b638171984d4394969f03ad46bba8", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(575, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(589, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c1a135efa8cd476fa485f783ef145071", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(640, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(673, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(683, 273, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-tools", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8c52b692ba9d4d818ad880a858f90688", async() => {
                        BeginContext(697, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(711, 220, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-custom-tools", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7d26658baa354c64ae84885d7ee32c72", async() => {
                            BeginContext(732, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(750, 145, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-custom-tool", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e5d43c15be64499c9a46f6b336cfe636", async() => {
                                BeginContext(856, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomTool>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomTool);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Name = (string)__tagHelperAttribute_3.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Tooltip = (string)__tagHelperAttribute_4.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Css = (string)__tagHelperAttribute_5.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Action = (string)__tagHelperAttribute_6.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(895, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_FileCustomToolSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileCustomToolSettings>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileCustomToolSettings);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(931, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_FileExplorerTools = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerTools>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerTools);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(956, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.Tile;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.ToolsList = new List <string>()
                {
                    "creation", "navigation", "addressBar", "copyPaste", "searchBar", "customTool"
                };

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("tools-list", __Syncfusion_JavaScript_Models_FileExplorerProperties.ToolsList, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(981, 8, true);
                WriteLiteral("\r\n\r\n    ");
                EndContext();
                BeginContext(989, 728, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f1b5b134ed8f43deabca610a573d1b92", async() => {
                    BeginContext(1141, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1151, 548, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "34b215449ff043d6b401d0ac63bfaccc", async() => {
                        BeginContext(1171, 507, true);
                        WriteLiteral(@"
            <div class=""text-content"">
                <div class=""header-content"">Need assistance?</div>
                <div class=""header-content"">Our help document assists you to know more about FileExplorer control.</div>
                <div class=""header-content"">
                    Please refer -> <a href=""//help.syncfusion.com/aspnet-core/fileexplorer/overview""
                                       target=""_blank"">Help Document</a>
                </div>
            </div>
        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1699, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableResize = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-resize", __Syncfusion_JavaScript_Models_DialogProperties.EnableResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableModal = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-modal", __Syncfusion_JavaScript_Models_DialogProperties.EnableModal, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.ShowOnInit = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-on-init", __Syncfusion_JavaScript_Models_DialogProperties.ShowOnInit, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.Width = 350;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_DialogProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.CssClass = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1717, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1745, 122, true);
                WriteLiteral("\r\n    <script>\r\n        function dialogOpen() {\r\n            $(\'#helpDialog\').ejDialog(\'open\')\r\n        }\r\n    </script>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1892, 376, true);
                WriteLiteral(@"
<style type=""text/css"">
    /*Specify the custom tool icon*/
    .e-fileExplorer-toolbar-icon {
        height: 22px;
        width: 22px;
        font-family: 'ej-webfont';
        font-size: 18px;
        margin-top: 2px;
        text-align: center;
    }

        .e-fileExplorer-toolbar-icon.Help:before {
            content: ""\e72b"";
        }
</style>
");
                EndContext();
            }
                          );
        }
コード例 #6
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 67, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / Custom Context Menu </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(118, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(124, 1695, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0dee20176fc94f8fb713a46f2c39d85b", async() => {
                    BeginContext(362, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(372, 264, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "982bb1fbb58b4449b5eeb3ef4474350c", async() => {
                        BeginContext(394, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(408, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2beec25eacb448edac0b6fff3a544177", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(465, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(479, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c15b639712464299a1545c9189fc28ce", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(538, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(552, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0e1d51b6fde84aa7a68dd7439308df39", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(603, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(636, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(646, 1148, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-context-menu-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ff31d3ce80054b849ef8b98966d740b2", async() => {
                        BeginContext(676, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(690, 469, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ed99fd7088184a88a28424a0341d7182", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_FileExplorerItems = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerItems>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerItems);
#line 10 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                        __Syncfusion_JavaScript_Models_FileExplorerItems.Navbar = new List <string>()
                        {
                            "Upload", "|", "Delete", "Rename", "|", "Cut", "Copy", "Paste", "|", "Getinfo"
                        };

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("navbar", __Syncfusion_JavaScript_Models_FileExplorerItems.Navbar, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
#line 11 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                        __Syncfusion_JavaScript_Models_FileExplorerItems.Cwd = new List <string>()
                        {
                            "Refresh", "Paste", "|", "SortBy", "View", "|", "NewFolder", "Upload", "|", "Getinfo"
                        };

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("cwd", __Syncfusion_JavaScript_Models_FileExplorerItems.Cwd, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
#line 12 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                        __Syncfusion_JavaScript_Models_FileExplorerItems.Files = new List <string>()
                        {
                            "Open", "Download", "|", "Delete", "Rename", "|", "Cut", "Copy", "Paste", "|",
                            "OpenFolderLocation", "Getinfo"
                        };

#line default
#line hidden
                        __tagHelperExecutionContext.AddTagHelperAttribute("files", __Syncfusion_JavaScript_Models_FileExplorerItems.Files, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1159, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(1173, 580, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-custom-menu-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "490cc4a350774cbd8d995b08c87e9c8b", async() => {
                            BeginContext(1200, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(1218, 493, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-menu-fields", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "99f9faf02bf047869230e1296c5a0880", async() => {
                                BeginContext(1289, 22, true);
                                WriteLiteral("\r\n                    ");
                                EndContext();
                                BeginContext(1311, 366, false);
                                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-items", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "bf2af43a4c644e62869df8b5520326bf", async() => {
                                    BeginContext(1326, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                    BeginContext(1352, 74, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3170926a492a4c7f880e39d5276fc05c", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_3.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_4.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Action = (string)__tagHelperAttribute_5.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1426, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                    BeginContext(1452, 74, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "52b398bad5204686b848c4397cf347a1", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_6.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_7.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Action = (string)__tagHelperAttribute_5.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1526, 26, true);
                                    WriteLiteral("\r\n                        ");
                                    EndContext();
                                    BeginContext(1552, 87, false);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-child-item", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ea0e407a5f9d43918bdae870d424c5df", async() => {
                                    }
                                                                                                );
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_8.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_9.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                                    __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Action = (string)__tagHelperAttribute_5.Value;
                                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                                    {
                                        await __tagHelperExecutionContext.SetOutputContentAsync();
                                    }
                                    Write(__tagHelperExecutionContext.Output);
                                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                    EndContext();
                                    BeginContext(1639, 22, true);
                                    WriteLiteral("\r\n                    ");
                                    EndContext();
                                }
                                                                                            );
                                __Syncfusion_JavaScript_Models_customMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.customMenuFields>();
                                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_customMenuFields);
                                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                                if (!__tagHelperExecutionContext.Output.IsContentModified)
                                {
                                    await __tagHelperExecutionContext.SetOutputContentAsync();
                                }
                                Write(__tagHelperExecutionContext.Output);
                                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                                EndContext();
                                BeginContext(1677, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomMenuFields>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Id = (string)__tagHelperAttribute_10.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.Text = (string)__tagHelperAttribute_11.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomMenuFields.SpriteCssClass = (string)__tagHelperAttribute_12.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(1711, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_customMenuFields = CreateTagHelper <global::Syncfusion.JavaScript.Models.customMenuFields>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_customMenuFields);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1753, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_FileExplorerContextMenuSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerContextMenuSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerContextMenuSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1794, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_13);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_14.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.LargeIcons;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_15.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomContextMenu.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.MenuOpen = (string)__tagHelperAttribute_16.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.LayoutChange = (string)__tagHelperAttribute_17.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1819, 209, true);
                WriteLiteral("\r\n\r\n<h6>\r\n    <span style=\"font-style:italic; margin-top: 5px;margin-left: 20%;\">\r\n        Note: A new custom ContextMenu item (\"View\") is added to Current Working Directory\'s ContextMenu\r\n    </span>\r\n</h6>\r\n");
                EndContext();
            }
                          );
            BeginContext(2031, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            DefineSection("ScriptSection", async() => {
                BeginContext(2058, 678, true);
                WriteLiteral(@"

<script>
    function onLayout(args) {
        var feObj = $('#fileExplorer').data(""ejFileExplorer"");
        feObj && feObj.option(""layout"", args.ID);
    }
    function onMenuOpen(args) {
        if (args.contextMenu == ""cwd"") {
            $("".fe-context-menu"").find("".e-fe-activeicon"").removeClass(""e-fe-activeicon"");
            $("".fe-context-menu"").find(""."" + this.model.layout).addClass(""e-fe-activeicon"");
        }
    }
    function onLayoutChange(args) {
        $("".fe-context-menu .View"").removeClass(""custom-grid custom-tile custom-largeicons"");
        $("".fe-context-menu .View"").addClass(""custom-"" + this.model.layout);
    }
</script>


");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(2761, 268, true);
                WriteLiteral(@"
   <style>
    .fe-context-menu .custom-grid:before {
        content: ""\e7b9"";
    }

    .fe-context-menu .custom-largeicons:before {
        content: ""\e7bb"";
    }

    .fe-context-menu .custom-tile:before {
        content: ""\e7be"";
    }
</style>
");
                EndContext();
            }
                          );
            BeginContext(3032, 2, true);
            WriteLiteral("\r\n");
            EndContext();
        }
コード例 #7
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 55, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / Default </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(106, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(112, 489, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2e666855b2234cf79a776e8135bf0b67", async() => {
                    BeginContext(302, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(312, 264, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "27ec29343e1e4520bac5b34e8caa4389", async() => {
                        BeginContext(334, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(348, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "dda4581eedbb4f5791028ba985823222", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(405, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(419, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "62a13f349c724adbb565fade45638bdb", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(478, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(492, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "06010fe54e5049bf83682f2b59a8216b", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(543, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(576, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                BeginWriteTagHelperAttribute();
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Default.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Default.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Default.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.Tile;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.MinWidth = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(601, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
        }
コード例 #8
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 67, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / Keyboard Navigation </span>");
                EndContext();
            }
                          );
            BeginContext(93, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ControlsSection", async() => {
                BeginContext(120, 5, true);
                WriteLiteral("\r\n   ");
                EndContext();
                BeginContext(125, 449, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7e32b6a3340d47a28b47582f7dd862db", async() => {
                    BeginContext(299, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(305, 248, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3802ef8a2e60491186371fbeb488286f", async() => {
                        BeginContext(327, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(337, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "58a0d4711a554a3e9d03ad2b9a0e1834", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(394, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(404, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5f95c4b787b945d285046378ff313217", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(463, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(473, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "74221b3239aa41dd95f5a23f233e920b", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(524, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(553, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 4 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\KeyboardNavigation.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.Tile;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 4 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\KeyboardNavigation.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 4 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\KeyboardNavigation.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, 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(574, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            BeginContext(579, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("PropertiesSection", async() => {
                BeginContext(608, 4395, true);
                WriteLiteral(@"
    <div class=""row"">
        <div class=""col-md-3"">
            Alt + j
        </div>
        <div class=""col-md-3"">
            Focuses the control
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Shift + 1
        </div>
        <div class=""col-md-3"">
            Focuses the Toolbar
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Shift + 2
        </div>
        <div class=""col-md-3"">
            Focuses the Treeview
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Shift + 3
        </div>
        <div class=""col-md-3"">
            Focuses the Splitter
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Shift + 4
        </div>
        <div class=""col-md-3"">
            Focuses the Grid view
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
  ");
                WriteLiteral(@"          Ctrl + Shift + 5
        </div>
        <div class=""col-md-3"">
            Focuses the Tile view
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Shift + 6
        </div>
        <div class=""col-md-3"">
            Focuses the LargeIcons view
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + Shift + 7
        </div>
        <div class=""col-md-3"">
            Focuses the Statusbar
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Right
        </div>
        <div class=""col-md-3"">
            Focusing next item
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Left
        </div>
        <div class=""col-md-3"">
            Focusing previous item
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Enter
        </div>
        <div class=""col-md-3"">");
                WriteLiteral(@"
            Selection the focused item
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Esc
        </div>
        <div class=""col-md-3"">
            Closes the opened dialog
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            F2
        </div>
        <div class=""col-md-3"">
            Renames the selected item
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + A
        </div>
        <div class=""col-md-3"">
            Selects the all items
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Alt + N
        </div>
        <div class=""col-md-3"">
            Opens Create Folder dialog
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + U
        </div>
        <div class=""col-md-3"">
            Opens Upload dialog
        </div>
    </div>
    <div class=""");
                WriteLiteral(@"row"">
        <div class=""col-md-3"">
            F5
        </div>
        <div class=""col-md-3"">
            Refresh the content
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Alt + Enter
        </div>
        <div class=""col-md-3"">
            Get the details of selected item
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + X
        </div>
        <div class=""col-md-3"">
            To cut the selected items
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + C
        </div>
        <div class=""col-md-3"">
            To copy the selected items
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Ctrl + V
        </div>
        <div class=""col-md-3"">
            Pastes the copied items
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Delete
        ");
                WriteLiteral(@"</div>
        <div class=""col-md-3"">
            Deletes the selected items
        </div>
    </div>
    <div class=""row"">
        <div class=""col-md-3"">
            Shift + F10
        </div>
        <div class=""col-md-3"">
            Opens the ContextMenu
        </div>
    </div>
");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(5029, 268, true);
                WriteLiteral(@"
    <script>
        $(document).on(""keydown"", function (e) {
            if (e.altKey && e.keyCode === 74) { // j- key code.
                $(""#keyboard"").focus();
            }
        });
        $(""#sampleProperties"").ejPropertiesPanel();
    </script>
");
                EndContext();
            }
                          );
            BeginContext(5300, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
        }
コード例 #9
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 58, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / CustomTool </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(109, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(115, 866, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4fdfb7457ff94795b0376f87ba3c0239", async() => {
                    BeginContext(399, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(409, 264, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c63013490fb2464986e894bab43c78c1", async() => {
                        BeginContext(431, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(445, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "baf7256ba3bd4ec58eaacf4263ad0428", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(502, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(516, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "66dd6d176d5f4b259fafb1020f5933f2", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(575, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(589, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "565a4a01924c4eaaa8e52a7d9992295d", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(640, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(673, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(683, 273, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-tools", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f3b3bf89eca84792a01880361502a477", async() => {
                        BeginContext(697, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(711, 220, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-custom-tools", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "56587eeae8b448269847323927036346", async() => {
                            BeginContext(732, 18, true);
                            WriteLiteral("\r\n                ");
                            EndContext();
                            BeginContext(750, 145, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-custom-tool", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7a951567c2b041839270c81f9377aef4", async() => {
                                BeginContext(856, 18, true);
                                WriteLiteral("\r\n                ");
                                EndContext();
                            }
                                                                                        );
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerCustomTool>();
                            __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerCustomTool);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Name = (string)__tagHelperAttribute_3.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Tooltip = (string)__tagHelperAttribute_4.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Css = (string)__tagHelperAttribute_5.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                            __Syncfusion_JavaScript_Models_FileExplorerCustomTool.Action = (string)__tagHelperAttribute_6.Value;
                            __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(895, 14, true);
                            WriteLiteral("\r\n            ");
                            EndContext();
                        }
                                                                                    );
                        __Syncfusion_JavaScript_Models_FileCustomToolSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileCustomToolSettings>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileCustomToolSettings);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(931, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_FileExplorerTools = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerTools>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerTools);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(956, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.Tile;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.ToolsList = new List <string>()
                {
                    "creation", "navigation", "addressBar", "copyPaste", "searchBar", "customTool"
                };

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("tools-list", __Syncfusion_JavaScript_Models_FileExplorerProperties.ToolsList, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.SingleQuotes);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(981, 8, true);
                WriteLiteral("\r\n\r\n    ");
                EndContext();
                BeginContext(989, 728, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-dialog", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6c96bb3a9c2541e582123d661ce1fadb", async() => {
                    BeginContext(1141, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(1151, 548, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-content-template", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "93f4092112844a08819c0f07da7cc373", async() => {
                        BeginContext(1171, 507, true);
                        WriteLiteral(@"
            <div class=""text-content"">
                <div class=""header-content"">Need assistance?</div>
                <div class=""header-content"">Our help document assists you to know more about FileExplorer control.</div>
                <div class=""header-content"">
                    Please refer -> <a href=""//help.syncfusion.com/aspnet-core/fileexplorer/overview""
                                       target=""_blank"">Help Document</a>
                </div>
            </div>
        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_ContentTemplate = CreateTagHelper <global::Syncfusion.JavaScript.ContentTemplate>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_ContentTemplate);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1699, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DialogProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DialogProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DialogProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10);
                __Syncfusion_JavaScript_Models_DialogProperties.Title = (string)__tagHelperAttribute_11.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableResize = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-resize", __Syncfusion_JavaScript_Models_DialogProperties.EnableResize, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.EnableModal = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-modal", __Syncfusion_JavaScript_Models_DialogProperties.EnableModal, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.ShowOnInit = false;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("show-on-init", __Syncfusion_JavaScript_Models_DialogProperties.ShowOnInit, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 17 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\CustomTool.cshtml"
                __Syncfusion_JavaScript_Models_DialogProperties.Width = 350;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("width", __Syncfusion_JavaScript_Models_DialogProperties.Width, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DialogProperties.CssClass = (string)__tagHelperAttribute_12.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1717, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
            DefineSection("ScriptSection", async() => {
                BeginContext(1745, 122, true);
                WriteLiteral("\r\n    <script>\r\n        function dialogOpen() {\r\n            $(\'#helpDialog\').ejDialog(\'open\')\r\n        }\r\n    </script>\r\n");
                EndContext();
            }
                          );
            DefineSection("StyleSection", async() => {
                BeginContext(1892, 376, true);
                WriteLiteral(@"
<style type=""text/css"">
    /*Specify the custom tool icon*/
    .e-fileExplorer-toolbar-icon {
        height: 22px;
        width: 22px;
        font-family: 'ej-webfont';
        font-size: 18px;
        margin-top: 2px;
        text-align: center;
    }

        .e-fileExplorer-toolbar-icon.Help:before {
            content: ""\e72b"";
        }
</style>
");
                EndContext();
            }
                          );
        }
コード例 #10
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 60, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / Localization </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(111, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(117, 478, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c5e9a05e9d194de8a8965eaa4383463e", async() => {
                    BeginContext(296, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(306, 264, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4c03a8203b1e4c63ad130a0496eed01e", async() => {
                        BeginContext(328, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(342, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e0188582b2664b9e88c236751d031047", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(399, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(413, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7fa182bf573147e7ad0e890b0e5350ca", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(472, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(486, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "115beb7d4e8a451998527a7f1e47f5e6", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(537, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(570, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Localization.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.Tile;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Localization.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Localization.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, 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(595, 150, true);
                WriteLiteral("\r\n\r\n<div id=\"feTarget\">\r\n    <ul>\r\n        <li>en-US</li>\r\n        <li>de-DE</li>\r\n        <li>es-ES</li>\r\n        <li>ar-SA</li>\r\n    </ul>\r\n</div>\r\n");
                EndContext();
            }
                          );
            BeginContext(748, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("PropertiesSection", async() => {
                BeginContext(777, 145, true);
                WriteLiteral("\r\n    <div class=\"row\">\r\n        <div class=\"col-md-3\">\r\n            Select culture\r\n        </div>\r\n        <div class=\"col-md-3\">\r\n            ");
                EndContext();
                BeginContext(922, 128, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-drop-down-list", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "92554f5ef66045218a8013a565048c0c", async() => {
                }
                                                                            );
                __Syncfusion_JavaScript_Models_DropDownListProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.DropDownListProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_DropDownListProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                __Syncfusion_JavaScript_Models_DropDownListProperties.TargetID = (string)__tagHelperAttribute_7.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Width = (string)__tagHelperAttribute_8.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8);
#line 27 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Localization.cshtml"
                __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex = 0;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("selected-item-index", __Syncfusion_JavaScript_Models_DropDownListProperties.SelectedItemIndex, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_DropDownListProperties.Change = (string)__tagHelperAttribute_9.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1050, 30, true);
                WriteLiteral("\r\n        </div>\r\n    </div>\r\n");
                EndContext();
            }
                          );
            BeginContext(1083, 2, true);
            WriteLiteral("\r\n");
            EndContext();
            DefineSection("ScriptSection", async() => {
                BeginContext(1108, 15882, true);
                WriteLiteral(@"
    <script>
        ej.FileExplorer.Locale[""de-DE""] = {
            Folder: ""Mappe"",
            EmptyResult: ""Keine Artikel entsprechen Ihrer Suche nach"",
            EmptyFolder: ""Dieser Ordner ist leer"",
            ProtectedFolder: ""Sie ist nicht die Berechtigung diesen Ordner zugreifen"",
            Back: ""rückwärts"",
            Forward: ""Nach Vorne"",
            Upward: ""nach oben"",
            Refresh: ""erfrischen"",
            Addressbar: ""Adressleiste"",
            Upload: ""hochladen"",
            Rename: ""umbenennen"",
            Delete: ""löschen"",
            Download: ""herunterladen"",
            Error: ""Fehler"",
            Cut: ""Schnitt"",
            Copy: ""Kopie"",
            Paste: ""kleben"",
            Details: ""Einzelheiten"",
            Searchbar: ""Suchleiste"",
            Open: ""geöffnet"",
            Search: ""Suche"",
            NewFolder: ""neuer Ordner"",
            SelectedFileUrl: ""Web-Adresse"",
            SelectedFileName: ""Titel"",
            ImageWidth");
                WriteLiteral(@": ""Breite"",
            ImageHeight: ""Höhe"",
            Insert: ""Insert"",
            Cancel: ""Rückgängig Machen"",
            RenameAlert: ""Bitte geben Sie neuen Namen"",
            NewFolderAlert: ""Geben Sie den neuen Ordnernamen ein"",
            ContextMenuOpen: ""geöffnet"",
            ContextMenuNewFolder: ""Neuer Ordner"",
            ContextMenuDelete: ""löschen"",
            ContextMenuRename: ""umbenennen"",
            ContextMenuUpload: ""hochladen"",
            ContextMenuDownload: ""Herunterladen"",
            ContextMenuCut: ""Schnitt"",
            ContextMenuCopy: ""Kopie"",
            ContextMenuPaste: ""kleben"",
            ContextMenuGetinfo: ""Ausführliche Infos"",
            ContextMenuRefresh: ""erfrischen"",
            ContextMenuOpenFolderLocation: ""Öffnen Sie Ordner"",
            ContextMenuSortBy: ""Sortiere nach"",
            SortBy: ""Sortiere nach"",
            OkButton: ""Ok"",
            CancelButton: ""Rückgängig machen"",
            YesButton: ""Ja"",
            NoButton");
                WriteLiteral(@": ""Unterlassen Sie"",
            YesToAllButton: ""Ja zu allem"",
            NoToAllButton: ""Nein, alle"",
            Size: ""Größe"",
            Item: "" Artikel"",
            Items: "" Angebote"",
            Selected: ""ausgewählt"",
            Permission: ""Erlaubnis"",
            Grid: ""Gitter Ansicht"",
            Tile: ""Kachelansicht"",
            LargeIcons: ""Große Icons"",
            Layout: ""Gestaltung"",
            SkipButton: ""Überspringen"",
            ErrorOnFolderCreation: ""Dieses Ziel ist bereits ein Ordner mit dem Namen '{0}'. Möchten Sie diesen Ordner Inhalte mit bereits vorhandenen Ordner '{0}' zusammenführen möchten?"",
            InvalidFileName: ""Ein Dateiname darf keines der folgenden Zeichen enthalten: \\/:*?\""<>|"",
            ReplaceAlert: ""Datei mit dem Namen '{0}' ist bereits vorhanden. Ersetzen Sie alte Datei durch eine neue?"",
            DuplicateAlert: ""Es gibt bereits eine Datei mit dem gleichen Namen '{0}'. Möchten Sie diese Datei mit doppelten Namen erstellen möchte");
                WriteLiteral(@"n"",
            DuplicateFileCreation: ""Es gibt bereits eine Datei mit dem gleichen Namen in diesem Ort. Möchten Sie umbenennen '{0}' bis '{1}' suchen?"",
            DeleteFolder: "" Sind Sie sicher, dass Sie löschen möchten "",
            DeleteMultipleFolder: ""Sind Sie sicher, dass Sie diese {0} Einträge löschen?"",
            CancelPasteAction: ""Der Zielordner ist ein Unterordner des Quellordners."",
            GeneralError: ""Bitte beachten Sie Browser Konsolenfenster für weitere Informationen"",
            ErrorPath: ""Fileexplorer kann nicht finden '{0}'. Überprüfen Sie die Schreibweise und versuchen Sie es erneut."",
            Name: ""Namen"",
            Location: ""Ort"",
            Type: ""Gegenstandsart"",
            Created: ""Erstellt"",
            Modified: ""geändert"",
            DialogCloseToolTip: ""schließen"",
            UploadSettings: {
                buttonText: {
                    upload: ""hochladen"",
                    browse: ""blättern"",
                    cancel: ""Rückg");
                WriteLiteral(@"ängig Machen"",
                    close: ""schließen""
                },
                dialogText: {
                    title: ""hochladen Box"",
                    name: ""Name"",
                    size: ""Größe"",
                    status: ""Status""
                },
                cancelToolTip: ""stornieren"",
                removeToolTip: ""entfernen"",
                retryToolTip: ""wiederholen"",
                completedToolTip: ""fertiggestellt"",
                failedToolTip: ""fehlgeschlagen"",
                closeToolTip: ""schließen""
            }
        };

        ej.FileExplorer.Locale[""es-ES""] = {
            Folder: ""Carpeta"",
            EmptyResult: ""Ningun articulo concuerda con su busqueda"",
            EmptyFolder: ""Esta carpeta está vacía"",
            ProtectedFolder: ""Actualmente no tiene permiso para acceder a esta carpeta"",
            Back: ""hacia atrás"",
            Forward: ""adelante"",
            Upward: ""Hacia arriba"",
            Refresh: ""refrescar"",
");
                WriteLiteral(@"            Addressbar: ""Barra de dirección"",
            Upload: ""Subir"",
            Rename: ""rebautizar"",
            Delete: ""borrar"",
            Download: ""Descargar"",
            Error: ""error"",
            Cut: ""cortada"",
            Copy: ""copia"",
            Paste: ""pasta"",
            Details: ""Detalles"",
            Searchbar: ""barra de búsqueda"",
            Open: ""abierto"",
            Search: ""búsqueda"",
            NewFolder: ""Nueva Carpeta"",
            SelectedFileUrl: ""dirección Web"",
            SelectedFileName: ""título"",
            ImageWidth: ""ancho"",
            ImageHeight: ""altura"",
            Insert: ""Insertar"",
            Cancel: ""cancelar"",
            RenameAlert: ""Por favor, introduzca el nuevo nombre"",
            NewFolderAlert: ""Introduzca el nuevo nombre de la carpeta"",
            ContextMenuOpen: ""abierto"",
            ContextMenuNewFolder: ""nueva carpeta"",
            ContextMenuDelete: ""borrar"",
            ContextMenuRename: ""rebautizar"",
  ");
                WriteLiteral(@"          ContextMenuUpload: ""Subir"",
            ContextMenuDownload: ""descargar"",
            ContextMenuCut: ""cortada"",
            ContextMenuCopy: ""copia"",
            ContextMenuPaste: ""pasta"",
            ContextMenuGetinfo: ""Obtén información"",
            ContextMenuRefresh: ""refrescar"",
            ContextMenuOpenFolderLocation: ""Ubicación de la carpeta abierta"",
            ContextMenuSortBy: ""Ordenar por"",
            SortBy: ""Ordenar por"",
            OkButton: ""Okay"",
            CancelButton: ""cancelar"",
            YesButton: ""sí"",
            NoButton: ""No"",
            YesToAllButton: ""Si a todo"",
            NoToAllButton: ""No a todos"",
            Size: ""tamaño"",
            Item: "" artículo"",
            Items: "" artículos"",
            Selected: ""seleccionado"",
            Permission: ""Permiso"",
            Grid: ""Vista de cuadrícula"",
            Tile: ""vista de mosaicos"",
            LargeIcons: ""Iconos grandes"",
            Layout: ""Diseño"",
            SkipBu");
                WriteLiteral(@"tton: ""Omitir"",
            ErrorOnFolderCreation: ""Este destino ya contiene una carpeta llamada '{0}'. ¿Desea fusionar este contenido de la carpeta con la carpeta ya existente '{0}'?"",
            InvalidFileName: ""Un nombre de archivo no puede contener ninguno de los siguientes caracteres: \\/:*?\""<>|"",
            ReplaceAlert: ""Archivo llamado '{0}' ya existe. Reemplazar archivo antiguo por uno nuevo?"",
            DuplicateAlert: ""Ya existe un archivo con el mismo nombre '{0}'. ¿Quieres crear el archivo con nombre duplicado"",
            DuplicateFileCreation: ""Ya existe un archivo con el mismo nombre en esta ubicación. ¿Quieres cambiar el nombre de '{0}' a '{1}'?"",
            DeleteFolder: "" Estas seguro que quieres borrarlo "",
            DeleteMultipleFolder: ""¿Seguro que quieres eliminar estos {0} artículos?"",
            CancelPasteAction: ""La carpeta de destino es una subcarpeta de la carpeta de origen."",
            GeneralError: ""Por favor, vea ventana de la consola del navegador para o");
                WriteLiteral(@"btener más información"",
            ErrorPath: ""FileExplorer no puede encontrar '{0}'. Revisa la ortografía y vuelva a intentarlo."",
            Name: ""nombre"",
            Location: ""ubicación"",
            Type: ""Tipo De Artículo"",
            Created: ""creado"",
            Modified: ""Modificado"",
            DialogCloseToolTip: ""cerca"",
            UploadSettings: {
                buttonText: {
                    upload: ""Subir"",
                    browse: ""Explorar"",
                    cancel: ""cancelar"",
                    close: ""cerca""
                },
                dialogText: {
                    title: ""Subir Box"",
                    name: ""nombre"",
                    size: ""tamaño"",
                    status: ""estado""
                },
                cancelToolTip: ""cancelar"",
                removeToolTip: ""quitar"",
                retryToolTip: ""Reintente"",
                completedToolTip: ""terminado"",
                failedToolTip: ""fracasado"",
        ");
                WriteLiteral(@"        closeToolTip: ""cerca""
            }
        };
        ej.FileExplorer.Locale[""ar-SA""] = {
            Folder: ""مجلد"",
            EmptyResult: ""لا توجد عناصر تطابق بحثك"",
            EmptyFolder: ""هذا المجلد فارغ"",
            ProtectedFolder: ""لم يكن لديك حاليا إذن للوصول إلى هذا المجلد"",
            Back: ""الى الوراء"",
            Forward: ""إلى الأمام"",
            Upward: ""فوق"",
            Refresh: ""تحديث"",
            Addressbar: ""شريط العنوان"",
            Upload: ""تحميل"",
            Rename: ""إعادة تسمية"",
            Delete: ""حذف"",
            Download: ""تحميل"",
            Error: ""خطأ"",
            Cut: ""قطع"",
            Copy: ""نسخة"",
            Paste: ""لصق"",
            Details: ""تفاصيل"",
            Searchbar: ""شريط البحث"",
            Open: ""فتح"",
            Search: ""بحث"",
            NewFolder: ""ملف جديد"",
            Size: ""حجم"",
            SelectedFileUrl: ""العنوان على شبكة الإنترنت"",
            SelectedFileName: ""لقب"",
            ImageWidth: ""عرض"",
");
                WriteLiteral(@"            ImageHeight: ""ارتفاع"",
            Insert: ""أدخل"",
            Cancel: ""خراب"",
            RenameAlert: ""الرجاء إدخال اسم جديد"",
            NewFolderAlert: ""الرجاء إدخال اسم المجلد الجديد"",
            ContextMenuOpen: ""فتح"",
            ContextMenuNewFolder: ""ملف جديد"",
            ContextMenuDelete: ""حذف"",
            ContextMenuRename: ""إعادة تسمية"",
            ContextMenuUpload: ""تنزيل"",
            ContextMenuDownload: ""تحميل"",
            ContextMenuCut: ""قطع"",
            ContextMenuCopy: ""نسخة"",
            ContextMenuPaste: ""لصق"",
            ContextMenuGetinfo: ""يحصل على معلومات"",
            ContextMenuRefresh: ""تحديث"",
            ContextMenuOpenFolderLocation: ""موقع المجلد المفتوح"",
            ContextMenuSortBy: ""ترتيب حسب"",
            SortBy: ""ترتيب حسب"",
            Item: ""العنصر"",
            Items: ""العناصر"",
            Selected: ""مختار"",
            Permission: ""تصريح"",
            ErrorOnFolderCreation: ""هذه الوجهة يحتوي بالفعل على المجلد المسمى '{0}'");
                WriteLiteral(@". هل تريد دمج هذا المحتوى مجلد مع مجلد '{0}' موجود بالفعل؟"",
            InvalidFileName: ""\\/:*\""<>| :لا يمكن أن يحتوي اسم أي من الأحرف التالية"",
            GeneralError: ""يرجى الاطلاع إطار وحدة التحكم متصفح للمزيد من المعلومات"",
            ErrorPath: ""ملف لا يمكن إكسبلورر العثور على '{0}'. التدقيق الإملائي وحاول مرة أخرى."",
            ReplaceAlert: ""الملف المسمى '{0}' موجود مسبقا. استبدال الملف القديم مع واحدة جديدة؟"",
            DuplicateAlert: ""هناك بالفعل ملف بنفس الاسم '{0}'. هل ترغب في إنشاء الملف مع اسم مكرر"",
            DuplicateFileCreation: ""بالفعل هناك ملف بنفس الاسم في هذا الموقع. هل تريد إعادة تسمية '{0}' إلى '{1}'؟"",
            DeleteFolder: "" هل أنت متأكد أنك تريد حذف"",
            DeleteMultipleFolder: ""هل أنت متأكد أنك تريد حذف هذه البنود {0}؟"",
            CancelPasteAction: ""المجلد الوجهة فرعي من المجلد المصدر."",
            OkButton: ""حسنا"",
            CancelButton: ""إلغاء"",
            YesToAllButton: ""نعم للكل"",
            NoToAllButton: ""لا للجميع"",
            Ye");
                WriteLiteral(@"sButton: ""نعم"",
            NoButton: ""لا"",
            Grid: ""عرض الشبكة"",
            Tile: ""بلاط مشاهدة"",
            LargeIcons: ""رموز كبيرة"",
            Layout: ""تصميم"",
            SkipButton: ""تخطى"",
            Name: ""اسم"",
            Location: ""موقع"",
            Type: ""نوع العنصر"",
            Created: ""خلق"",
            Accessed: ""الوصول"",
            Modified: ""تعديل"",
            DialogCloseToolTip: ""أغلق"",
            UploadSettings: {
                buttonText: {
                    upload: ""تحميل"",
                    browse: ""تصفح"",
                    cancel: ""إلغاء"",
                    close: ""قريب""
                },
                dialogText: {
                    title: ""تحميل صندوق"",
                    name: ""اسم"",
                    size: ""حجم"",
                    status: ""الحالة""
                },
                cancelToolTip: ""إلغاء"",
                removeToolTip: ""إزالة"",
                retryToolTip: ""إعادة المحاولة"",
                complet");
                WriteLiteral(@"edToolTip: ""الانتهاء"",
                failedToolTip: ""فشل"",
                closeToolTip: ""أغلق""
            }
        };


        function onChange(args) {
            $(""#fileExplorer"").ejFileExplorer(""model.enableRTL"", (args.value == ""ar-SA"" ? true : false));
            switch (args.value) {
                case ""es-ES"":
                    $(""#fileExplorer"").ejFileExplorer({
                        gridSettings: { columns: [{ field: ""name"", headerText: ""nombre"" },
                                                  { field: ""dateModified"", headerText: ""fecha de modificación"" },
                                                  { field: ""type"", headerText: ""tipo"" },
                                                  { field: ""size"", headerText: ""tamaño"" }] }
                    });
                    break;
                case ""de-DE"":
                    $(""#fileExplorer"").ejFileExplorer({
                        gridSettings: { columns: [{ field: ""name"", headerText: ""Name"" },
     ");
                WriteLiteral(@"                                             { field: ""dateModified"", headerText: ""Änderungsdatum"" },
                                                  { field: ""type"", headerText: ""Art"" },
                                                  { field: ""size"", headerText: ""Größe"" }] }
                    });
                    break;
                case ""en-US"":
                    $(""#fileExplorer"").ejFileExplorer({
                        gridSettings: { columns: [{ field: ""name"", headerText: ""Name"" },
                                                  { field: ""dateModified"", headerText: ""Date Modified"" },
                                                  { field: ""type"", headerText: ""Type"" },
                                                  { field: ""size"", headerText: ""Size"" }] }
                    });
                    break;
                case ""ar-SA"":
                    $(""#fileExplorer"").ejFileExplorer({
                        gridSettings: { columns: [{ field: ""name"", headerText:");
                WriteLiteral(@" ""اسم"" },
                                                  { field: ""dateModified"", headerText: ""تاريخ التعديل"" },
                                                  { field: ""type"", headerText: ""اكتب"" },
                                                  { field: ""size"", headerText: ""حجم"" }] }
                    });
                    break;
            }
            $(""#fileExplorer"").ejFileExplorer(""model.locale"", args.value);
        }
        $(""#sampleProperties"").ejPropertiesPanel();
    </script>
");
                EndContext();
            }
                          );
            BeginContext(16993, 6, true);
            WriteLiteral("\r\n\r\n\r\n");
            EndContext();
        }
コード例 #11
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 51, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / RTL </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(102, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(108, 493, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "d29fab3fbb994defad19bb41e8a8973d", async() => {
                    BeginContext(302, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(312, 264, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "239c99bec1a249559979490ad769c5b1", async() => {
                        BeginContext(334, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(348, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "dda9d28468b94aebad46527154a92910", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(405, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(419, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f68ed50f62af41ef8ce2ea6e1cebbbc8", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(478, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(492, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "237b0808a16b4616bdef94ef2990320b", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(543, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(576, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\RTL.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.LargeIcons;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\RTL.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.EnableRTL = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("enable-rtl", __Syncfusion_JavaScript_Models_FileExplorerProperties.EnableRTL, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                BeginWriteTagHelperAttribute();
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\RTL.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\RTL.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, 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(601, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
        }
コード例 #12
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 55, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / Default </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(106, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(112, 489, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "139411465948492397fb1c0570df1cff", async() => {
                    BeginContext(302, 10, true);
                    WriteLiteral("\r\n        ");
                    EndContext();
                    BeginContext(312, 264, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "891160c0c42f4964b4b34c51303c2e6d", async() => {
                        BeginContext(334, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(348, 57, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "dec95f9b245f4f6c8019709604b10cfc", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(405, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(419, 59, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5d9cbd1dbea84b4386e3ff9e5a158dd4", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(478, 14, true);
                        WriteLiteral("\r\n            ");
                        EndContext();
                        BeginContext(492, 51, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "792e7ec16ce64cff82a324ce6da2459b", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(543, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(576, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                BeginWriteTagHelperAttribute();
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Default.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Default.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\Default.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.Tile;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.MinWidth = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(601, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
        }
コード例 #13
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            DefineSection("SampleHeading", async() => {
                BeginContext(23, 64, true);
                WriteLiteral("<span class=\"sampleName\">FileExplorer / VirtualScrolling </span>");
                EndContext();
            }
                          );
            DefineSection("ControlsSection", async() => {
                BeginContext(115, 2, true);
                WriteLiteral("\r\n");
                EndContext();
                BeginContext(117, 501, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("ej-file-explorer", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c0f95a988b30479390e90bd4615a53f1", async() => {
                    BeginContext(340, 6, true);
                    WriteLiteral("\r\n    ");
                    EndContext();
                    BeginContext(346, 251, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-file-ajax-settings", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "c5e54880faeb41a3a1f3e74f3d15a64b", async() => {
                        BeginContext(368, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(378, 58, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-download", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e6198ac24be941d49f0d6cf559c548b8", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(436, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(446, 60, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-get-image", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f69148b8319a4692aba028d473048d91", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(506, 10, true);
                        WriteLiteral("\r\n        ");
                        EndContext();
                        BeginContext(516, 52, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("e-upload", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "6cba5baae05a4caeac26317ab0962cab", async() => {
                        }
                                                                                    );
                        __Syncfusion_JavaScript_jQueryAjaxOptions = CreateTagHelper <global::Syncfusion.JavaScript.jQueryAjaxOptions>();
                        __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_jQueryAjaxOptions);
                        __Syncfusion_JavaScript_jQueryAjaxOptions.Url = (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(568, 6, true);
                        WriteLiteral("\r\n    ");
                        EndContext();
                    }
                                                                                );
                    __Syncfusion_JavaScript_Models_AjaxSettings = CreateTagHelper <global::Syncfusion.JavaScript.Models.AjaxSettings>();
                    __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_AjaxSettings);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(597, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
                }
                                                                            );
                __Syncfusion_JavaScript_Models_FileExplorerProperties = CreateTagHelper <global::Syncfusion.JavaScript.Models.FileExplorerProperties>();
                __tagHelperExecutionContext.Add(__Syncfusion_JavaScript_Models_FileExplorerProperties);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Path = (string)__tagHelperAttribute_4.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                BeginWriteTagHelperAttribute();
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\VirtualScrolling.cshtml"
                WriteLiteral(Url.Content("FileActionDefault"));

#line default
#line hidden
                __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction = __tagHelperStringValueBuffer;
                __tagHelperExecutionContext.AddTagHelperAttribute("ajax-action", __Syncfusion_JavaScript_Models_FileExplorerProperties.AjaxAction, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\VirtualScrolling.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.VirtualItemCount = 20;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("virtual-item-count", __Syncfusion_JavaScript_Models_FileExplorerProperties.VirtualItemCount, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Width = (string)__tagHelperAttribute_5.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\VirtualScrolling.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive = true;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("is-responsive", __Syncfusion_JavaScript_Models_FileExplorerProperties.IsResponsive, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 3 "D:\Samples_17.2.0.46\ASPNETCORE\samplebrowser_core_2_0\Views\FileExplorer\VirtualScrolling.cshtml"
                __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout = global::Syncfusion.JavaScript.LayoutType.Tile;

#line default
#line hidden
                __tagHelperExecutionContext.AddTagHelperAttribute("layout", __Syncfusion_JavaScript_Models_FileExplorerProperties.Layout, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                __Syncfusion_JavaScript_Models_FileExplorerProperties.MinWidth = (string)__tagHelperAttribute_6.Value;
                __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(618, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
        }