Class RestaurantService.RestaurantServiceClient
Assembly: Grpc.dll
Client for RestaurantService
Inheritance
object ← ClientBase ← ClientBase<RestaurantService.RestaurantServiceClient\> ← RestaurantService.RestaurantServiceClient
Inherited Members
ClientBase<RestaurantService.RestaurantServiceClient\>.WithHost\(string\), ClientBase<RestaurantService.RestaurantServiceClient\>.NewInstance\(ClientBase.ClientBaseConfiguration\), ClientBase.CallInvoker, object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Constructors
RestaurantServiceClient\(ChannelBase\)
Creates a new client for RestaurantService
Parameters
channel ChannelBase
The channel to use to make remote calls.
RestaurantServiceClient\(CallInvoker\)
Creates a new client for RestaurantService that uses a custom CallInvoker.
Parameters
callInvoker CallInvoker
The callInvoker to use to make remote calls.
RestaurantServiceClient\(\)
Protected parameterless constructor to allow creation of test doubles.
RestaurantServiceClient\(ClientBaseConfiguration\)
Protected constructor to allow creation of configured clients.
Parameters
configuration ClientBase. ClientBaseConfiguration
The client configuration.
Methods
DecrementProductsStock\(GrpcDecrementProductStockCommand, Metadata, DateTime?, CancellationToken\)
Parameters
request GrpcDecrementProductStockCommand
headers Metadata
deadline DateTime?
cancellationToken CancellationToken
Returns
DecrementProductsStock\(GrpcDecrementProductStockCommand, CallOptions\)
Parameters
request GrpcDecrementProductStockCommand
options CallOptions
Returns
DecrementProductsStockAsync\(GrpcDecrementProductStockCommand, Metadata, DateTime?, CancellationToken\)
Parameters
request GrpcDecrementProductStockCommand
headers Metadata
deadline DateTime?
cancellationToken CancellationToken
Returns
DecrementProductsStockAsync\(GrpcDecrementProductStockCommand, CallOptions\)
Parameters
request GrpcDecrementProductStockCommand
options CallOptions
Returns
NewInstance\(ClientBaseConfiguration\)
Creates a new instance of client from given ClientBaseConfiguration.
Parameters
configuration ClientBase. ClientBaseConfiguration
Returns
RestaurantService. RestaurantServiceClient