1
- //------------------------------------------------------------------------------
2
- // <auto-generated>
3
- // This code was generated by a tool.
4
- // Runtime Version:4.0.30319.18213
5
- //
6
- // Changes to this file may cause incorrect behavior and will be lost if
7
- // the code is regenerated.
8
- // </auto-generated>
9
- //------------------------------------------------------------------------------
10
-
11
- namespace Microsoft . AspNet . Diagnostics . Views {
12
-
13
- #line 1 "DiagnosticsPage.cshtml"
14
- using System ;
15
-
16
- #line default
17
- #line hidden
18
-
19
- #line 2 "DiagnosticsPage.cshtml"
20
- using System . Globalization ;
21
-
22
- #line default
23
- #line hidden
24
-
25
-
26
- public class DiagnosticsPage : Microsoft . AspNet . Diagnostics . Views . BaseView {
27
-
1
+ namespace Microsoft . AspNet . Diagnostics . Views
2
+ {
3
+ #line 1 "DiagnosticsPage.cshtml"
4
+ using System
5
+
6
+ #line default
7
+ #line hidden
8
+ ;
9
+ #line 2 "DiagnosticsPage.cshtml"
10
+ using System . Globalization
11
+
12
+ #line default
28
13
#line hidden
29
-
30
- public DiagnosticsPage ( ) {
14
+ ;
15
+ using System . Threading . Tasks ;
16
+
17
+ public class DiagnosticsPage : Microsoft . AspNet . Diagnostics . Views . BaseView
18
+ {
19
+ #line hidden
20
+ public DiagnosticsPage ( )
21
+ {
31
22
}
32
-
33
- public override void Execute ( ) {
34
-
35
- #line 3 "DiagnosticsPage.cshtml"
23
+
24
+ public override async Task ExecuteAsync ( )
25
+ {
26
+ #line 3 "DiagnosticsPage.cshtml"
36
27
37
28
Response . ContentType = "text/html" ;
38
29
string error = Request . Query . Get ( "error" ) ;
@@ -41,93 +32,70 @@ public override void Execute() {
41
32
throw new InvalidOperationException ( string . Format ( CultureInfo . InvariantCulture , "User requested error '{0}'" , error ) ) ;
42
33
}
43
34
44
-
45
- #line default
46
- #line hidden
47
- WriteLiteral ( "\r \n <!DOCTYPE html>\r \n \r \n <html" ) ;
48
-
49
- WriteLiteral ( " lang=\" en\" " ) ;
50
-
51
- WriteLiteral ( " xmlns=\" http://www.w3.org/1999/xhtml\" " ) ;
52
-
53
- WriteLiteral ( ">\r \n <head>\r \n <meta" ) ;
54
-
55
- WriteLiteral ( " charset=\" utf-8\" " ) ;
56
-
57
- WriteLiteral ( " />\r \n <title>" ) ;
58
-
59
-
60
- #line 16 "DiagnosticsPage.cshtml"
61
- Write ( Resources . DiagnosticsPageHtml_Title ) ;
62
-
63
-
64
- #line default
65
- #line hidden
66
- WriteLiteral ( "</title>\r \n </head>\r \n <body>\r \n <div" ) ;
67
-
68
- WriteLiteral ( " class=\" main\" " ) ;
35
+ #line default
36
+ #line hidden
69
37
70
- WriteLiteral ( ">\r \n <h1>" ) ;
38
+ WriteLiteral ( "\r \n <!DOCTYPE html>\r \n \r \n <html lang=\" en\" xmlns=\" http://www.w3.org/1999/xhtml\" >\r \n <head" +
39
+ ">\r \n <meta charset=\" utf-8\" />\r \n <title>" ) ;
40
+ Write (
41
+ #line 16 "DiagnosticsPage.cshtml"
42
+ Resources . DiagnosticsPageHtml_Title
71
43
72
-
73
- #line 20 "DiagnosticsPage.cshtml"
74
- Write ( Resources . DiagnosticsPageHtml_Title ) ;
44
+ #line default
45
+ #line hidden
46
+ ) ;
75
47
76
-
77
- #line default
78
- #line hidden
79
- WriteLiteral ( "</h1> \r \n <p>" ) ;
48
+ WriteLiteral ( "</title> \r \n </head> \r \n <body> \r \n <div class= \" main \" > \r \n <h1>" ) ;
49
+ Write (
50
+ #line 20 "DiagnosticsPage.cshtml"
51
+ Resources . DiagnosticsPageHtml_Title
80
52
81
-
82
- #line 21 "DiagnosticsPage.cshtml"
83
- Write ( Resources . DiagnosticsPageHtml_Information ) ;
53
+ #line default
54
+ #line hidden
55
+ ) ;
84
56
85
-
86
- #line default
87
- #line hidden
88
- WriteLiteral ( "</p> \r \n </div> \r \n <div" ) ;
57
+ WriteLiteral ( "</h1> \r \n <p>" ) ;
58
+ Write (
59
+ #line 21 "DiagnosticsPage.cshtml"
60
+ Resources . DiagnosticsPageHtml_Information
89
61
90
- WriteLiteral ( " class=\" errors\" " ) ;
62
+ #line default
63
+ #line hidden
64
+ ) ;
91
65
92
- WriteLiteral ( ">\r \n <h2>" ) ;
66
+ WriteLiteral ( "</p>\r \n </div>\r \n <div class=\" errors\" >\r \n <h2>" ) ;
67
+ Write (
68
+ #line 24 "DiagnosticsPage.cshtml"
69
+ Resources . DiagnosticsPageHtml_TestErrorSection
93
70
94
-
95
- #line 24 "DiagnosticsPage.cshtml"
96
- Write ( Resources . DiagnosticsPageHtml_TestErrorSection ) ;
71
+ #line default
72
+ #line hidden
73
+ ) ;
97
74
98
-
99
- #line default
100
- #line hidden
101
- WriteLiteral ( "</h2>\r \n <p><a" ) ;
75
+ WriteLiteral ( "</h2>\r \n <p><a" ) ;
76
+ WriteAttribute ( "href" , Tuple . Create ( " href=\" " , 767 ) , Tuple . Create ( "\" " , 858 ) ,
77
+ Tuple . Create ( Tuple . Create ( "" , 774 ) , Tuple . Create < System . Object , System . Int32 > (
78
+ #line 25 "DiagnosticsPage.cshtml"
79
+ Request . PathBase
102
80
103
- WriteAttribute ( "href" , Tuple . Create ( " href=\" " , 767 ) , Tuple . Create ( "\" " , 858 )
104
-
105
- #line 25 "DiagnosticsPage.cshtml"
106
- , Tuple . Create ( Tuple . Create ( "" , 774 ) , Tuple . Create < System . Object , System . Int32 > ( Request . PathBase
107
-
108
- #line default
109
- #line hidden
110
- , 774 ) , false )
111
-
112
- #line 25 "DiagnosticsPage.cshtml"
113
- , Tuple . Create ( Tuple . Create ( "" , 791 ) , Tuple . Create < System . Object , System . Int32 > ( Request . Path
114
-
115
- #line default
116
- #line hidden
117
- , 791 ) , false )
118
- , Tuple . Create ( Tuple . Create ( "" , 804 ) , Tuple . Create ( "?error=" , 804 ) , true )
119
-
120
- #line 25 "DiagnosticsPage.cshtml"
121
- , Tuple . Create ( Tuple . Create ( "" , 811 ) , Tuple . Create < System . Object , System . Int32 > ( Resources . DiagnosticsPageHtml_TestErrorMessage
122
-
123
- #line default
124
- #line hidden
125
- , 811 ) , false )
126
- ) ;
81
+ #line default
82
+ #line hidden
83
+ , 774 ) , false ) ,
84
+ Tuple . Create ( Tuple . Create ( "" , 791 ) , Tuple . Create < System . Object , System . Int32 > (
85
+ #line 25 "DiagnosticsPage.cshtml"
86
+ Request . Path
127
87
128
- WriteLiteral ( ">throw InvalidOperationException</a></p>\r \n </div>\r \n </body>\r \n </html>\r \n " ) ;
88
+ #line default
89
+ #line hidden
90
+ , 791 ) , false ) , Tuple . Create ( Tuple . Create ( "" , 804 ) , Tuple . Create ( "?error=" , 804 ) , true ) ,
91
+ Tuple . Create ( Tuple . Create ( "" , 811 ) , Tuple . Create < System . Object , System . Int32 > (
92
+ #line 25 "DiagnosticsPage.cshtml"
93
+ Resources . DiagnosticsPageHtml_TestErrorMessage
129
94
95
+ #line default
96
+ #line hidden
97
+ , 811 ) , false ) ) ;
98
+ WriteLiteral ( ">throw InvalidOperationException</a></p>\r \n </div>\r \n </body>\r \n </html>\r \n " ) ;
130
99
}
131
100
}
132
101
}
133
-
0 commit comments