@@ -13,9 +13,24 @@ public static partial class HttpContextServerVariableExtensions
13
13
{
14
14
public static string GetServerVariable ( this Microsoft . AspNetCore . Http . HttpContext context , string variableName ) { throw null ; }
15
15
}
16
- public static partial class HttpRequestExtensions
16
+ public static partial class HttpRequestJsonExtensions
17
17
{
18
18
public static bool HasJsonContentType ( this Microsoft . AspNetCore . Http . HttpRequest request ) { throw null ; }
19
+ [ System . Diagnostics . DebuggerStepThroughAttribute ]
20
+ public static System . Threading . Tasks . ValueTask < object ? > ReadFromJsonAsync ( this Microsoft . AspNetCore . Http . HttpRequest request , System . Type type , System . Text . Json . JsonSerializerOptions ? options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
21
+ public static System . Threading . Tasks . ValueTask < object ? > ReadFromJsonAsync ( this Microsoft . AspNetCore . Http . HttpRequest request , System . Type type , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
22
+ [ System . Diagnostics . DebuggerStepThroughAttribute ]
23
+ public static System . Threading . Tasks . ValueTask < TValue > ReadFromJsonAsync < TValue > ( this Microsoft . AspNetCore . Http . HttpRequest request , System . Text . Json . JsonSerializerOptions ? options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
24
+ public static System . Threading . Tasks . ValueTask < TValue > ReadFromJsonAsync < TValue > ( this Microsoft . AspNetCore . Http . HttpRequest request , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
25
+ }
26
+ public static partial class HttpResponseJsonExtensions
27
+ {
28
+ public static System . Threading . Tasks . Task WriteAsJsonAsync ( this Microsoft . AspNetCore . Http . HttpResponse response , object ? value , System . Type type , System . Text . Json . JsonSerializerOptions ? options , string ? contentType , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
29
+ public static System . Threading . Tasks . Task WriteAsJsonAsync ( this Microsoft . AspNetCore . Http . HttpResponse response , object ? value , System . Type type , System . Text . Json . JsonSerializerOptions ? options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
30
+ public static System . Threading . Tasks . Task WriteAsJsonAsync ( this Microsoft . AspNetCore . Http . HttpResponse response , object ? value , System . Type type , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
31
+ public static System . Threading . Tasks . Task WriteAsJsonAsync < TValue > ( this Microsoft . AspNetCore . Http . HttpResponse response , [ System . Diagnostics . CodeAnalysis . AllowNullAttribute ] TValue value , System . Text . Json . JsonSerializerOptions ? options , string ? contentType , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
32
+ public static System . Threading . Tasks . Task WriteAsJsonAsync < TValue > ( this Microsoft . AspNetCore . Http . HttpResponse response , [ System . Diagnostics . CodeAnalysis . AllowNullAttribute ] TValue value , System . Text . Json . JsonSerializerOptions ? options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
33
+ public static System . Threading . Tasks . Task WriteAsJsonAsync < TValue > ( this Microsoft . AspNetCore . Http . HttpResponse response , [ System . Diagnostics . CodeAnalysis . AllowNullAttribute ] TValue value , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
19
34
}
20
35
public static partial class ResponseExtensions
21
36
{
@@ -133,24 +148,6 @@ public void SetList<T>(string name, System.Collections.Generic.IList<T> values)
133
148
}
134
149
namespace Microsoft . AspNetCore . Http . Json
135
150
{
136
- public static partial class HttpRequestJsonExtensions
137
- {
138
- [ System . Diagnostics . DebuggerStepThroughAttribute ]
139
- public static System . Threading . Tasks . ValueTask < object ? > ReadFromJsonAsync ( this Microsoft . AspNetCore . Http . HttpRequest request , System . Type type , System . Text . Json . JsonSerializerOptions ? options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
140
- public static System . Threading . Tasks . ValueTask < object ? > ReadFromJsonAsync ( this Microsoft . AspNetCore . Http . HttpRequest request , System . Type type , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
141
- [ System . Diagnostics . DebuggerStepThroughAttribute ]
142
- public static System . Threading . Tasks . ValueTask < TValue > ReadFromJsonAsync < TValue > ( this Microsoft . AspNetCore . Http . HttpRequest request , System . Text . Json . JsonSerializerOptions ? options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
143
- public static System . Threading . Tasks . ValueTask < TValue > ReadFromJsonAsync < TValue > ( this Microsoft . AspNetCore . Http . HttpRequest request , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
144
- }
145
- public static partial class HttpResponseJsonExtensions
146
- {
147
- public static System . Threading . Tasks . Task WriteAsJsonAsync ( this Microsoft . AspNetCore . Http . HttpResponse response , object ? value , System . Type type , System . Text . Json . JsonSerializerOptions ? options , string ? contentType , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
148
- public static System . Threading . Tasks . Task WriteAsJsonAsync ( this Microsoft . AspNetCore . Http . HttpResponse response , object ? value , System . Type type , System . Text . Json . JsonSerializerOptions ? options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
149
- public static System . Threading . Tasks . Task WriteAsJsonAsync ( this Microsoft . AspNetCore . Http . HttpResponse response , object ? value , System . Type type , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
150
- public static System . Threading . Tasks . Task WriteAsJsonAsync < TValue > ( this Microsoft . AspNetCore . Http . HttpResponse response , [ System . Diagnostics . CodeAnalysis . AllowNullAttribute ] TValue value , System . Text . Json . JsonSerializerOptions ? options , string ? contentType , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
151
- public static System . Threading . Tasks . Task WriteAsJsonAsync < TValue > ( this Microsoft . AspNetCore . Http . HttpResponse response , [ System . Diagnostics . CodeAnalysis . AllowNullAttribute ] TValue value , System . Text . Json . JsonSerializerOptions ? options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
152
- public static System . Threading . Tasks . Task WriteAsJsonAsync < TValue > ( this Microsoft . AspNetCore . Http . HttpResponse response , [ System . Diagnostics . CodeAnalysis . AllowNullAttribute ] TValue value , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
153
- }
154
151
public partial class JsonOptions
155
152
{
156
153
public JsonOptions ( ) { }
0 commit comments