public static void BindService(grpc::ServiceBinderBase serviceBinder, ChangelogsBase serviceImpl) { serviceBinder.AddMethod(__Method_ListChangelogs, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.Cx.V3.ListChangelogsRequest, global::Google.Cloud.Dialogflow.Cx.V3.ListChangelogsResponse>(serviceImpl.ListChangelogs)); serviceBinder.AddMethod(__Method_GetChangelog, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.Dialogflow.Cx.V3.GetChangelogRequest, global::Google.Cloud.Dialogflow.Cx.V3.Changelog>(serviceImpl.GetChangelog)); }
public static grpc::ServerServiceDefinition BindService(ChangelogsBase serviceImpl) { return(grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_ListChangelogs, serviceImpl.ListChangelogs) .AddMethod(__Method_GetChangelog, serviceImpl.GetChangelog).Build()); }