5 instantiations of HelloRequest
IntegrationTestsWebsite (2)
artifacts\obj\IntegrationTestsWebsite\Release\net9.0\Protos\Greet.cs (2)
101
private static readonly pb::MessageParser<HelloRequest> _parser = new pb::MessageParser<HelloRequest>(() => new
HelloRequest
());
137
return new
HelloRequest
(this);
Microsoft.AspNetCore.Grpc.JsonTranscoding.IntegrationTests (3)
RouteTests.cs (1)
240
var requestMessage = new
HelloRequest
{ Name = "test" };
UnaryTests.cs (2)
178
var requestMessage = new
HelloRequest
{ Name = "test" };
211
var requestMessage = new
HelloRequest
{ Name = "test" };
103 references to HelloRequest
IntegrationTestsWebsite (62)
artifacts\obj\IntegrationTestsWebsite\Release\net9.0\Protos\Greet.cs (11)
73
new pbr::GeneratedClrTypeInfo(typeof(global::IntegrationTestsWebsite.
HelloRequest
), global::IntegrationTestsWebsite.
HelloRequest
.Parser, new[]{ "Name" }, null, null, null, null),
96
public sealed partial class HelloRequest : pb::IMessage<
HelloRequest
>
101
private static readonly pb::MessageParser<
HelloRequest
> _parser = new pb::MessageParser<
HelloRequest
>(() => new HelloRequest());
105
public static pb::MessageParser<
HelloRequest
> Parser { get { return _parser; } }
129
public HelloRequest(
HelloRequest
other) : this() {
136
public
HelloRequest
Clone() {
155
return Equals(other as
HelloRequest
);
160
public bool Equals(
HelloRequest
other) {
233
public void MergeFrom(
HelloRequest
other) {
artifacts\obj\IntegrationTestsWebsite\Release\net9.0\Protos\GreetGrpc.cs (50)
52
static readonly grpc::Marshaller<global::IntegrationTestsWebsite.
HelloRequest
> __Marshaller_greet_HelloRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::IntegrationTestsWebsite.
HelloRequest
.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>(
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>(
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)
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)
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));
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));
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 (41)
RouteTests.cs (21)
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>(
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>(
240
var
requestMessage = new HelloRequest { Name = "test" };
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>(
178
var
requestMessage = new HelloRequest { Name = "test" };
199
Task<HelloReply> UnaryMethod(
HelloRequest
request, ServerCallContext context)
203
var method = Fixture.DynamicGrpc.AddUnaryMethod<
HelloRequest
, HelloReply>(
211
var
requestMessage = new HelloRequest { Name = "test" };