Ejemplo n.º 1
0
            public global::Playground.Common.ServiceDefinition.Person GetPersonById(global::Playground.Common.ServiceDefinition.PersonId request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
            {
                var call = CreateCall(__Method_GetPersonById, new CallOptions(headers, deadline, cancellationToken));

                return(Calls.BlockingUnaryCall(call, request));
            }
Ejemplo n.º 2
0
            public global::Playground.Common.ServiceDefinition.Person GetPersonById(global::Playground.Common.ServiceDefinition.PersonId request, CallOptions options)
            {
                var call = CreateCall(__Method_GetPersonById, options);

                return(Calls.BlockingUnaryCall(call, request));
            }
Ejemplo n.º 3
0
            public AsyncUnaryCall <global::Playground.Common.ServiceDefinition.Person> GetPersonByIdAsync(global::Playground.Common.ServiceDefinition.PersonId request, CallOptions options)
            {
                var call = CreateCall(__Method_GetPersonById, options);

                return(Calls.AsyncUnaryCall(call, request));
            }