public static void BindService(grpc::ServiceBinderBase serviceBinder, AuthorityServiceBase serviceImpl) { serviceBinder.AddMethod(__Method_GetAuthorityList, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Brochure.AuthorityService.Params, global::Brochure.AuthorityService.Authority>(serviceImpl.GetAuthorityList)); }
public static grpc::ServerServiceDefinition BindService(AuthorityServiceBase serviceImpl) { return(grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_GetAuthorityList, serviceImpl.GetAuthorityList).Build()); }