5 instantiations of HelloRequest
IntegrationTestsWebsite (2)
artifacts\obj\IntegrationTestsWebsite\Release\net9.0\Protos\Greet.cs (2)
101private static readonly pb::MessageParser<HelloRequest> _parser = new pb::MessageParser<HelloRequest>(() => new HelloRequest()); 137return new HelloRequest(this);
Microsoft.AspNetCore.Grpc.JsonTranscoding.IntegrationTests (3)
RouteTests.cs (1)
240var requestMessage = new HelloRequest { Name = "test" };
UnaryTests.cs (2)
178var requestMessage = new HelloRequest { Name = "test" }; 211var requestMessage = new HelloRequest { Name = "test" };
103 references to HelloRequest
IntegrationTestsWebsite (62)
artifacts\obj\IntegrationTestsWebsite\Release\net9.0\Protos\Greet.cs (11)
73new pbr::GeneratedClrTypeInfo(typeof(global::IntegrationTestsWebsite.HelloRequest), global::IntegrationTestsWebsite.HelloRequest.Parser, new[]{ "Name" }, null, null, null, null), 96public sealed partial class HelloRequest : pb::IMessage<HelloRequest> 101private static readonly pb::MessageParser<HelloRequest> _parser = new pb::MessageParser<HelloRequest>(() => new HelloRequest()); 105public static pb::MessageParser<HelloRequest> Parser { get { return _parser; } } 129public HelloRequest(HelloRequest other) : this() { 136public HelloRequest Clone() { 155return Equals(other as HelloRequest); 160public bool Equals(HelloRequest other) { 233public void MergeFrom(HelloRequest other) {
artifacts\obj\IntegrationTestsWebsite\Release\net9.0\Protos\GreetGrpc.cs (50)
52static readonly grpc::Marshaller<global::IntegrationTestsWebsite.HelloRequest> __Marshaller_greet_HelloRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::IntegrationTestsWebsite.HelloRequest.Parser)); 61static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHello = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>( 69static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHelloPost = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>( 77static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHelloComplex = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>( 93static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHelloComplexCatchAll1 = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>( 101static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHelloComplexCatchAll2 = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>( 117static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHelloComplexCatchAll4 = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>( 125static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHelloCustomVerbOne = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>( 133static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHelloCustomVerbTwo = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>( 141static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHelloCatchAllCustomVerbOne = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>( 149static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHelloCatchAllCustomVerbTwo = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>( 157static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHelloPostCustomVerbOne = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>( 165static readonly grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHelloPostCustomVerbTwo = new grpc::Method<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>( 189public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHello(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context) 195public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHelloPost(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context) 201public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHelloComplex(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context) 213public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHelloComplexCatchAll1(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context) 219public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHelloComplexCatchAll2(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context) 231public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHelloComplexCatchAll4(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context) 237public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHelloCustomVerbOne(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context) 243public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHelloCustomVerbTwo(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context) 249public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHelloCatchAllCustomVerbOne(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context) 255public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHelloCatchAllCustomVerbTwo(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context) 261public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHelloPostCustomVerbOne(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context) 267public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHelloPostCustomVerbTwo(global::IntegrationTestsWebsite.HelloRequest request, grpc::ServerCallContext context) 303serviceBinder.AddMethod(__Method_SayHello, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHello)); 304serviceBinder.AddMethod(__Method_SayHelloPost, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHelloPost)); 305serviceBinder.AddMethod(__Method_SayHelloComplex, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHelloComplex)); 307serviceBinder.AddMethod(__Method_SayHelloComplexCatchAll1, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHelloComplexCatchAll1)); 308serviceBinder.AddMethod(__Method_SayHelloComplexCatchAll2, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHelloComplexCatchAll2)); 310serviceBinder.AddMethod(__Method_SayHelloComplexCatchAll4, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHelloComplexCatchAll4)); 311serviceBinder.AddMethod(__Method_SayHelloCustomVerbOne, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHelloCustomVerbOne)); 312serviceBinder.AddMethod(__Method_SayHelloCustomVerbTwo, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHelloCustomVerbTwo)); 313serviceBinder.AddMethod(__Method_SayHelloCatchAllCustomVerbOne, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHelloCatchAllCustomVerbOne)); 314serviceBinder.AddMethod(__Method_SayHelloCatchAllCustomVerbTwo, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHelloCatchAllCustomVerbTwo)); 315serviceBinder.AddMethod(__Method_SayHelloPostCustomVerbOne, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHelloPostCustomVerbOne)); 316serviceBinder.AddMethod(__Method_SayHelloPostCustomVerbTwo, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.HelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHelloPostCustomVerbTwo));
Services\GreeterService.cs (1)
16public override Task<HelloReply> SayHello(HelloRequest request, ServerCallContext context)
Microsoft.AspNetCore.Grpc.JsonTranscoding.IntegrationTests (41)
RouteTests.cs (21)
28Task<HelloReply> UnaryMethod(HelloRequest request, ServerCallContext context) 32var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 51Task<HelloReply> UnaryMethod1(HelloRequest request, ServerCallContext context) 55Task<HelloReply> UnaryMethod2(HelloRequest request, ServerCallContext context) 59var method1 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 62var method2 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 112Task<HelloReply> UnaryMethod(HelloRequest request, ServerCallContext context) 116var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 135Task<HelloReply> UnaryMethod1(HelloRequest request, ServerCallContext context) 139Task<HelloReply> UnaryMethod2(HelloRequest request, ServerCallContext context) 143var method1 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 146var method2 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 179Task<HelloReply> UnaryMethod1(HelloRequest request, ServerCallContext context) 183Task<HelloReply> UnaryMethod2(HelloRequest request, ServerCallContext context) 187var method1 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 190var method2 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 223Task<HelloReply> UnaryMethod1(HelloRequest request, ServerCallContext context) 227Task<HelloReply> UnaryMethod2(HelloRequest request, ServerCallContext context) 231var method1 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 234var method2 = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 240var requestMessage = new HelloRequest { Name = "test" };
ServerStreamingTests.cs (6)
26async Task ServerStreamingMethod(HelloRequest request, IServerStreamWriter<HelloReply> writer, ServerCallContext context) 30var method = Fixture.DynamicGrpc.AddServerStreamingMethod<HelloRequest, HelloReply>( 50async Task ServerStreamingMethod(HelloRequest request, IServerStreamWriter<HelloReply> writer, ServerCallContext context) 56var method = Fixture.DynamicGrpc.AddServerStreamingMethod<HelloRequest, HelloReply>( 87async Task ServerStreamingMethod(HelloRequest request, IServerStreamWriter<HelloReply> writer, ServerCallContext context) 93var method = Fixture.DynamicGrpc.AddServerStreamingMethod<HelloRequest, HelloReply>(
UnaryTests.cs (14)
29Task<HelloReply> UnaryMethod(HelloRequest request, ServerCallContext context) 33var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 54async Task<HelloReply> UnaryMethod(HelloRequest request, ServerCallContext context) 65var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 92async Task<HelloReply> UnaryMethod(HelloRequest request, ServerCallContext context) 108var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 134Task<HelloReply> UnaryMethod(HelloRequest request, ServerCallContext context) 139var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 163Task<HelloReply> UnaryMethod(HelloRequest request, ServerCallContext context) 167var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 178var requestMessage = new HelloRequest { Name = "test" }; 199Task<HelloReply> UnaryMethod(HelloRequest request, ServerCallContext context) 203var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 211var requestMessage = new HelloRequest { Name = "test" };