12 references to MapEndpoints
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (12)
JsonTranscodingServiceMethodProviderTests.cs (12)
25
var endpoints =
MapEndpoints
<JsonTranscodingGreeterService>();
40
var endpoints =
MapEndpoints
<JsonTranscodingGreeterService>();
53
var endpoints =
MapEndpoints
<JsonTranscodingGreeterService>();
75
var endpoints =
MapEndpoints
<JsonTranscodingColonRouteService>();
94
var endpoints =
MapEndpoints
<JsonTranscodingGreeterService>();
109
var endpoints =
MapEndpoints
<JsonTranscodingGreeterService>(
143
var endpoints =
MapEndpoints
<JsonTranscodingStreamingService>(
166
var ex = Assert.Throws<InvalidOperationException>(() =>
MapEndpoints
<JsonTranscodingInvalidResponseBodyGreeterService>());
178
var ex = Assert.Throws<InvalidOperationException>(() =>
MapEndpoints
<JsonTranscodingInvalidNestedResponseBodyGreeterService>());
190
var ex = Assert.Throws<InvalidOperationException>(() =>
MapEndpoints
<JsonTranscodingInvalidBodyGreeterService>());
202
var ex = Assert.Throws<InvalidOperationException>(() =>
MapEndpoints
<JsonTranscodingInvalidNestedBodyGreeterService>());
214
var ex = Assert.Throws<InvalidOperationException>(() =>
MapEndpoints
<JsonTranscodingInvalidPatternGreeterService>());