Class RestaurantService
Assembly: Grpc.dll
Inheritance
object ← RestaurantService
Inherited Members
object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)
Properties
Descriptor
Service descriptor
Property Value
ServiceDescriptor
Methods
BindService\(RestaurantServiceBase\)
Creates service definition that can be registered with a server
Parameters
serviceImpl RestaurantService. RestaurantServiceBase
An object implementing the server-side handling logic.
Returns
BindService\(ServiceBinderBase, RestaurantServiceBase\)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Parameters
serviceBinder ServiceBinderBase
Service methods will be bound by calling AddMethod on this object.
serviceImpl RestaurantService. RestaurantServiceBase
An object implementing the server-side handling logic.