Error.cshtml.g.cs 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. #pragma checksum "E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.Environmentally.WebScada\Pages\Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1f02565c188bc0cf60de1bc120acef71a3608055"
  2. // <auto-generated/>
  3. #pragma warning disable 1591
  4. [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(Ropin.Environmentally.WebScada.Pages.Pages_Error), @"mvc.1.0.razor-page", @"/Pages/Error.cshtml")]
  5. namespace Ropin.Environmentally.WebScada.Pages
  6. {
  7. #line hidden
  8. using System;
  9. using System.Collections.Generic;
  10. using System.Linq;
  11. using System.Threading.Tasks;
  12. using Microsoft.AspNetCore.Mvc;
  13. using Microsoft.AspNetCore.Mvc.Rendering;
  14. using Microsoft.AspNetCore.Mvc.ViewFeatures;
  15. #nullable restore
  16. #line 1 "E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.Environmentally.WebScada\Pages\_ViewImports.cshtml"
  17. using Ropin.Environmentally.WebScada;
  18. #line default
  19. #line hidden
  20. #nullable disable
  21. [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"1f02565c188bc0cf60de1bc120acef71a3608055", @"/Pages/Error.cshtml")]
  22. [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"f7c41d80880fb1220f6e4bb4cfa546024a9dd4c3", @"/Pages/_ViewImports.cshtml")]
  23. #nullable restore
  24. public class Pages_Error : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
  25. #nullable disable
  26. {
  27. #pragma warning disable 1998
  28. public async override global::System.Threading.Tasks.Task ExecuteAsync()
  29. {
  30. #nullable restore
  31. #line 3 "E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.Environmentally.WebScada\Pages\Error.cshtml"
  32. ViewData["Title"] = "Error";
  33. #line default
  34. #line hidden
  35. #nullable disable
  36. WriteLiteral("\r\n<h1 class=\"text-danger\">Error.</h1>\r\n<h2 class=\"text-danger\">An error occurred while processing your request.</h2>\r\n\r\n");
  37. #nullable restore
  38. #line 10 "E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.Environmentally.WebScada\Pages\Error.cshtml"
  39. if (Model.ShowRequestId)
  40. {
  41. #line default
  42. #line hidden
  43. #nullable disable
  44. WriteLiteral(" <p>\r\n <strong>Request ID:</strong> <code>");
  45. #nullable restore
  46. #line 13 "E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.Environmentally.WebScada\Pages\Error.cshtml"
  47. Write(Model.RequestId);
  48. #line default
  49. #line hidden
  50. #nullable disable
  51. WriteLiteral("</code>\r\n </p>\r\n");
  52. #nullable restore
  53. #line 15 "E:\Ropin\svn\SH_HB\Source_SQ\Ropin.Inspection.Api\Ropin.Environmentally.WebScada\Pages\Error.cshtml"
  54. }
  55. #line default
  56. #line hidden
  57. #nullable disable
  58. WriteLiteral(@"
  59. <h3>Development Mode</h3>
  60. <p>
  61. Swapping to the <strong>Development</strong> environment displays detailed information about the error that occurred.
  62. </p>
  63. <p>
  64. <strong>The Development environment shouldn't be enabled for deployed applications.</strong>
  65. It can result in displaying sensitive information from exceptions to end users.
  66. For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>
  67. and restarting the app.
  68. </p>
  69. ");
  70. }
  71. #pragma warning restore 1998
  72. #nullable restore
  73. [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
  74. public global::Microsoft.AspNetCore.Mvc.ViewFeatures.IModelExpressionProvider ModelExpressionProvider { get; private set; } = default!;
  75. #nullable disable
  76. #nullable restore
  77. [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
  78. public global::Microsoft.AspNetCore.Mvc.IUrlHelper Url { get; private set; } = default!;
  79. #nullable disable
  80. #nullable restore
  81. [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
  82. public global::Microsoft.AspNetCore.Mvc.IViewComponentHelper Component { get; private set; } = default!;
  83. #nullable disable
  84. #nullable restore
  85. [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
  86. public global::Microsoft.AspNetCore.Mvc.Rendering.IJsonHelper Json { get; private set; } = default!;
  87. #nullable disable
  88. #nullable restore
  89. [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
  90. public global::Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<ErrorModel> Html { get; private set; } = default!;
  91. #nullable disable
  92. public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ErrorModel> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<ErrorModel>)PageContext?.ViewData;
  93. public ErrorModel Model => ViewData.Model;
  94. }
  95. }
  96. #pragma warning restore 1591