public static void BindService(grpc::ServiceBinderBase serviceBinder, CloudCatalogBase serviceImpl) { serviceBinder.AddMethod(__Method_ListServices, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Billing.V1.ListServicesRequest, global::Google.Cloud.Billing.V1.ListServicesResponse>(serviceImpl.ListServices)); serviceBinder.AddMethod(__Method_ListSkus, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Billing.V1.ListSkusRequest, global::Google.Cloud.Billing.V1.ListSkusResponse>(serviceImpl.ListSkus)); }
public static grpc::ServerServiceDefinition BindService(CloudCatalogBase serviceImpl) { return(grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_ListServices, serviceImpl.ListServices) .AddMethod(__Method_ListSkus, serviceImpl.ListSkus).Build()); }