26 instantiations of HelloReply
IntegrationTestsWebsite (3)
artifacts\obj\IntegrationTestsWebsite\Release\net9.0\Protos\Greet.cs (2)
919private static readonly pb::MessageParser<HelloReply> _parser = new pb::MessageParser<HelloReply>(() => new HelloReply()); 955return new HelloReply(this);
Services\GreeterService.cs (1)
18return Task.FromResult(new HelloReply
Microsoft.AspNetCore.Grpc.JsonTranscoding.IntegrationTests (23)
RouteTests.cs (11)
30return Task.FromResult(new HelloReply { Message = $"Hello {request.Name}!" }); 53return Task.FromResult(new HelloReply { Message = $"One - Hello {request.Name}!" }); 57return Task.FromResult(new HelloReply { Message = $"Two - Hello {request.Name}!" }); 91return Task.FromResult(new HelloReply { Message = $"Hello {request.Name.FirstName} {request.Name.LastName}!" }); 114return Task.FromResult(new HelloReply { Message = $"Hello {request.Name}!" }); 137return Task.FromResult(new HelloReply { Message = $"Hello {request.Name} one!" }); 141return Task.FromResult(new HelloReply { Message = $"Hello {request.Name} two!" }); 181return Task.FromResult(new HelloReply { Message = $"Hello {request.Name} one!" }); 185return Task.FromResult(new HelloReply { Message = $"Hello {request.Name} two!" }); 225return Task.FromResult(new HelloReply { Message = $"Hello {request.Name} one!" }); 229return Task.FromResult(new HelloReply { Message = $"Hello {request.Name} two!" });
ServerStreamingTests.cs (5)
28await writer.WriteAsync(new HelloReply { Message = $"Hello {request.Name}!" }); 52await writer.WriteAsync(new HelloReply { Message = $"Hello {request.Name} 1!" }); 54await writer.WriteAsync(new HelloReply { Message = $"Hello {request.Name} 2!" }); 89await writer.WriteAsync(new HelloReply { Message = $"Hello {request.Name} 1!" }); 91await writer.WriteAsync(new HelloReply { Message = $"Hello {request.Name} 2!" }, new CancellationToken(canceled: true));
UnaryTests.cs (7)
31return Task.FromResult(new HelloReply { Message = $"Hello {request.Name}!" }); 63return new HelloReply { Message = $"Hello {request.Name}!" }; 106return new HelloReply { Message = $"Hello {request.Name}!" }; 137return Task.FromResult(new HelloReply { Message = $"Hello {request.Name}!" }); 165return Task.FromResult(new HelloReply { Message = $"Hello {request.Name}!" }); 201return Task.FromResult(new HelloReply { Message = $"Hello {request.Name}!" }); 232return Task.FromResult(new HelloReply { Message = $"Hello {request.Name}!" });
112 references to HelloReply
IntegrationTestsWebsite (70)
artifacts\obj\IntegrationTestsWebsite\Release\net9.0\Protos\Greet.cs (11)
76new pbr::GeneratedClrTypeInfo(typeof(global::IntegrationTestsWebsite.HelloReply), global::IntegrationTestsWebsite.HelloReply.Parser, new[]{ "Message" }, null, null, null, null) 914public sealed partial class HelloReply : pb::IMessage<HelloReply> 919private static readonly pb::MessageParser<HelloReply> _parser = new pb::MessageParser<HelloReply>(() => new HelloReply()); 923public static pb::MessageParser<HelloReply> Parser { get { return _parser; } } 947public HelloReply(HelloReply other) : this() { 954public HelloReply Clone() { 973return Equals(other as HelloReply); 978public bool Equals(HelloReply other) { 1051public void MergeFrom(HelloReply other) {
artifacts\obj\IntegrationTestsWebsite\Release\net9.0\Protos\GreetGrpc.cs (58)
54static readonly grpc::Marshaller<global::IntegrationTestsWebsite.HelloReply> __Marshaller_greet_HelloReply = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::IntegrationTestsWebsite.HelloReply.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>( 85static readonly grpc::Method<global::IntegrationTestsWebsite.EnumHelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHelloPostEnum = new grpc::Method<global::IntegrationTestsWebsite.EnumHelloRequest, 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>( 109static readonly grpc::Method<global::IntegrationTestsWebsite.ComplextHelloRequest, global::IntegrationTestsWebsite.HelloReply> __Method_SayHelloComplexCatchAll3 = new grpc::Method<global::IntegrationTestsWebsite.ComplextHelloRequest, 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) 207public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHelloPostEnum(global::IntegrationTestsWebsite.EnumHelloRequest 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) 225public virtual global::System.Threading.Tasks.Task<global::IntegrationTestsWebsite.HelloReply> SayHelloComplexCatchAll3(global::IntegrationTestsWebsite.ComplextHelloRequest 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)); 306serviceBinder.AddMethod(__Method_SayHelloPostEnum, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.EnumHelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHelloPostEnum)); 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)); 309serviceBinder.AddMethod(__Method_SayHelloComplexCatchAll3, serviceImpl == null ? null : new grpc::UnaryServerMethod<global::IntegrationTestsWebsite.ComplextHelloRequest, global::IntegrationTestsWebsite.HelloReply>(serviceImpl.SayHelloComplexCatchAll3)); 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 (42)
RouteTests.cs (22)
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>( 89Task<HelloReply> UnaryMethod(ComplextHelloRequest request, ServerCallContext context) 93var method = Fixture.DynamicGrpc.AddUnaryMethod<ComplextHelloRequest, 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>(
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>( 199Task<HelloReply> UnaryMethod(HelloRequest request, ServerCallContext context) 203var method = Fixture.DynamicGrpc.AddUnaryMethod<HelloRequest, HelloReply>( 230Task<HelloReply> UnaryMethod(EnumHelloRequest request, ServerCallContext context) 234var method = Fixture.DynamicGrpc.AddUnaryMethod<EnumHelloRequest, HelloReply>(