public static void BindService(grpc::ServiceBinderBase serviceBinder, WpfCommunicationBase serviceImpl) { serviceBinder.AddMethod(__Method_GetUserControl1, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::GrpcGreeterClient.WpfRequest, global::GrpcGreeterClient.WpfReply>(serviceImpl.GetUserControl1)); }
public static grpc::ServerServiceDefinition BindService(WpfCommunicationBase serviceImpl) { return(grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_GetUserControl1, serviceImpl.GetUserControl1).Build()); }