Exemple #1
0
 public static void BindService(grpc::ServiceBinderBase serviceBinder, ReportErrorsServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_ReportErrorEvent, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Cloud.ErrorReporting.V1Beta1.ReportErrorEventRequest, global::Google.Cloud.ErrorReporting.V1Beta1.ReportErrorEventResponse>(serviceImpl.ReportErrorEvent));
 }
Exemple #2
0
 public static grpc::ServerServiceDefinition BindService(ReportErrorsServiceBase serviceImpl)
 {
     return(grpc::ServerServiceDefinition.CreateBuilder()
            .AddMethod(__Method_ReportErrorEvent, serviceImpl.ReportErrorEvent).Build());
 }