26 instantiations of HelloReply
IntegrationTestsWebsite (3)
artifacts\obj\IntegrationTestsWebsite\Release\net9.0\Protos\Greet.cs (2)
919
private static readonly pb::MessageParser<HelloReply> _parser = new pb::MessageParser<HelloReply>(() => new
HelloReply
());
955
return new
HelloReply
(this);
Services\GreeterService.cs (1)
18
return Task.FromResult(new
HelloReply
Microsoft.AspNetCore.Grpc.JsonTranscoding.IntegrationTests (23)
RouteTests.cs (11)
30
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name}!" });
53
return Task.FromResult(new
HelloReply
{ Message = $"One - Hello {request.Name}!" });
57
return Task.FromResult(new
HelloReply
{ Message = $"Two - Hello {request.Name}!" });
91
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name.FirstName} {request.Name.LastName}!" });
114
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name}!" });
137
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name} one!" });
141
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name} two!" });
181
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name} one!" });
185
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name} two!" });
225
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name} one!" });
229
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name} two!" });
ServerStreamingTests.cs (5)
28
await writer.WriteAsync(new
HelloReply
{ Message = $"Hello {request.Name}!" });
52
await writer.WriteAsync(new
HelloReply
{ Message = $"Hello {request.Name} 1!" });
54
await writer.WriteAsync(new
HelloReply
{ Message = $"Hello {request.Name} 2!" });
89
await writer.WriteAsync(new
HelloReply
{ Message = $"Hello {request.Name} 1!" });
91
await writer.WriteAsync(new
HelloReply
{ Message = $"Hello {request.Name} 2!" }, new CancellationToken(canceled: true));
UnaryTests.cs (7)
31
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name}!" });
63
return new
HelloReply
{ Message = $"Hello {request.Name}!" };
106
return new
HelloReply
{ Message = $"Hello {request.Name}!" };
137
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name}!" });
165
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name}!" });
201
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name}!" });
232
return Task.FromResult(new
HelloReply
{ Message = $"Hello {request.Name}!" });
112 references to HelloReply
IntegrationTestsWebsite (70)
artifacts\obj\IntegrationTestsWebsite\Release\net9.0\Protos\Greet.cs (11)
76
new pbr::GeneratedClrTypeInfo(typeof(global::IntegrationTestsWebsite.
HelloReply
), global::IntegrationTestsWebsite.
HelloReply
.Parser, new[]{ "Message" }, null, null, null, null)
914
public sealed partial class HelloReply : pb::IMessage<
HelloReply
>
919
private static readonly pb::MessageParser<
HelloReply
> _parser = new pb::MessageParser<
HelloReply
>(() => new HelloReply());
923
public static pb::MessageParser<
HelloReply
> Parser { get { return _parser; } }
947
public HelloReply(
HelloReply
other) : this() {
954
public
HelloReply
Clone() {
973
return Equals(other as
HelloReply
);
978
public bool Equals(
HelloReply
other) {
1051
public void MergeFrom(
HelloReply
other) {
artifacts\obj\IntegrationTestsWebsite\Release\net9.0\Protos\GreetGrpc.cs (58)
54
static readonly grpc::Marshaller<global::IntegrationTestsWebsite.
HelloReply
> __Marshaller_greet_HelloReply = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::IntegrationTestsWebsite.
HelloReply
.Parser));
61
static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHello = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
69
static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHelloPost = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
77
static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHelloComplex = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
85
static readonly grpc::Method<global::IntegrationTestsWebsite.EnumHelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHelloPostEnum = new grpc::Method<global::IntegrationTestsWebsite.EnumHelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
93
static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHelloComplexCatchAll1 = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
101
static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHelloComplexCatchAll2 = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
109
static readonly grpc::Method<global::IntegrationTestsWebsite.ComplextHelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHelloComplexCatchAll3 = new grpc::Method<global::IntegrationTestsWebsite.ComplextHelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
117
static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHelloComplexCatchAll4 = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
125
static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHelloCustomVerbOne = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
133
static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHelloCustomVerbTwo = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
141
static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHelloCatchAllCustomVerbOne = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
149
static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHelloCatchAllCustomVerbTwo = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
157
static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHelloPostCustomVerbOne = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
165
static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
> __Method_SayHelloPostCustomVerbTwo = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(
189
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHello(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context)
195
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHelloPost(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context)
201
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHelloComplex(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context)
207
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHelloPostEnum(global::IntegrationTestsWebsite.EnumHelloRequest request, grpc::ServerCallContext context)
213
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHelloComplexCatchAll1(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context)
219
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHelloComplexCatchAll2(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context)
225
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHelloComplexCatchAll3(global::IntegrationTestsWebsite.ComplextHelloRequest request, grpc::ServerCallContext context)
231
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHelloComplexCatchAll4(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context)
237
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHelloCustomVerbOne(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context)
243
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHelloCustomVerbTwo(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context)
249
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHelloCatchAllCustomVerbOne(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context)
255
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHelloCatchAllCustomVerbTwo(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context)
261
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHelloPostCustomVerbOne(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context)
267
public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.
HelloReply
> SayHelloPostCustomVerbTwo(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context)
303
serviceBinder.AddMethod(__Method_SayHello, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHello));
304
serviceBinder.AddMethod(__Method_SayHelloPost, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHelloPost));
305
serviceBinder.AddMethod(__Method_SayHelloComplex, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHelloComplex));
306
serviceBinder.AddMethod(__Method_SayHelloPostEnum, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.EnumHelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHelloPostEnum));
307
serviceBinder.AddMethod(__Method_SayHelloComplexCatchAll1, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHelloComplexCatchAll1));
308
serviceBinder.AddMethod(__Method_SayHelloComplexCatchAll2, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHelloComplexCatchAll2));
309
serviceBinder.AddMethod(__Method_SayHelloComplexCatchAll3, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.ComplextHelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHelloComplexCatchAll3));
310
serviceBinder.AddMethod(__Method_SayHelloComplexCatchAll4, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHelloComplexCatchAll4));
311
serviceBinder.AddMethod(__Method_SayHelloCustomVerbOne, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHelloCustomVerbOne));
312
serviceBinder.AddMethod(__Method_SayHelloCustomVerbTwo, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHelloCustomVerbTwo));
313
serviceBinder.AddMethod(__Method_SayHelloCatchAllCustomVerbOne, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHelloCatchAllCustomVerbOne));
314
serviceBinder.AddMethod(__Method_SayHelloCatchAllCustomVerbTwo, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHelloCatchAllCustomVerbTwo));
315
serviceBinder.AddMethod(__Method_SayHelloPostCustomVerbOne, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHelloPostCustomVerbOne));
316
serviceBinder.AddMethod(__Method_SayHelloPostCustomVerbTwo, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.
HelloReply
>(serviceImpl.SayHelloPostCustomVerbTwo));
Services\GreeterService.cs (1)
16
public override Task<
HelloReply
> SayHello(HelloRequest request, ServerCallContext context)
Microsoft.AspNetCore.Grpc.JsonTranscoding.IntegrationTests (42)
RouteTests.cs (22)
28
Task<
HelloReply
> UnaryMethod(HelloRequest request, ServerCallContext context)
32
var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
51
Task<
HelloReply
> UnaryMethod1(HelloRequest request, ServerCallContext context)
55
Task<
HelloReply
> UnaryMethod2(HelloRequest request, ServerCallContext context)
59
var method1 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
62
var method2 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
89
Task<
HelloReply
> UnaryMethod(ComplextHelloRequest request, ServerCallContext context)
93
var method = Fixture.DynamicGrpc.AddUnaryMethod<ComplextHelloRequest,
HelloReply
>(
112
Task<
HelloReply
> UnaryMethod(HelloRequest request, ServerCallContext context)
116
var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
135
Task<
HelloReply
> UnaryMethod1(HelloRequest request, ServerCallContext context)
139
Task<
HelloReply
> UnaryMethod2(HelloRequest request, ServerCallContext context)
143
var method1 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
146
var method2 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
179
Task<
HelloReply
> UnaryMethod1(HelloRequest request, ServerCallContext context)
183
Task<
HelloReply
> UnaryMethod2(HelloRequest request, ServerCallContext context)
187
var method1 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
190
var method2 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
223
Task<
HelloReply
> UnaryMethod1(HelloRequest request, ServerCallContext context)
227
Task<
HelloReply
> UnaryMethod2(HelloRequest request, ServerCallContext context)
231
var method1 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
234
var method2 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
ServerStreamingTests.cs (6)
26
async Task ServerStreamingMethod(HelloRequest request, IServerStreamWriter<
HelloReply
> writer, ServerCallContext context)
30
var method = Fixture.DynamicGrpc.AddServerStreamingMethod<HelloRequest,
HelloReply
>(
50
async Task ServerStreamingMethod(HelloRequest request, IServerStreamWriter<
HelloReply
> writer, ServerCallContext context)
56
var method = Fixture.DynamicGrpc.AddServerStreamingMethod<HelloRequest,
HelloReply
>(
87
async Task ServerStreamingMethod(HelloRequest request, IServerStreamWriter<
HelloReply
> writer, ServerCallContext context)
93
var method = Fixture.DynamicGrpc.AddServerStreamingMethod<HelloRequest,
HelloReply
>(
UnaryTests.cs (14)
29
Task<
HelloReply
> UnaryMethod(HelloRequest request, ServerCallContext context)
33
var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
54
async Task<
HelloReply
> UnaryMethod(HelloRequest request, ServerCallContext context)
65
var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
92
async Task<
HelloReply
> UnaryMethod(HelloRequest request, ServerCallContext context)
108
var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
134
Task<
HelloReply
> UnaryMethod(HelloRequest request, ServerCallContext context)
139
var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
163
Task<
HelloReply
> UnaryMethod(HelloRequest request, ServerCallContext context)
167
var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
199
Task<
HelloReply
> UnaryMethod(HelloRequest request, ServerCallContext context)
203
var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest,
HelloReply
>(
230
Task<
HelloReply
> UnaryMethod(EnumHelloRequest request, ServerCallContext context)
234
var method = Fixture.DynamicGrpc.AddUnaryMethod<EnumHelloRequest,
HelloReply
>(