Exemple #1
0
 public static void BindService(grpc::ServiceBinderBase serviceBinder, VisionServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_BatchAnalyze, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Yandex.Cloud.Ai.Vision.V1.BatchAnalyzeRequest, global::Yandex.Cloud.Ai.Vision.V1.BatchAnalyzeResponse>(serviceImpl.BatchAnalyze));
 }
Exemple #2
0
 public static grpc::ServerServiceDefinition BindService(VisionServiceBase serviceImpl)
 {
     return(grpc::ServerServiceDefinition.CreateBuilder()
            .AddMethod(__Method_BatchAnalyze, serviceImpl.BatchAnalyze).Build());
 }