Ejemplo n.º 1
0
 public static void BindService(grpc::ServiceBinderBase serviceBinder, AssetGroupAssetServiceBase serviceImpl)
 {
     serviceBinder.AddMethod(__Method_GetAssetGroupAsset, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.GetAssetGroupAssetRequest, global::Google.Ads.GoogleAds.V9.Resources.AssetGroupAsset>(serviceImpl.GetAssetGroupAsset));
     serviceBinder.AddMethod(__Method_MutateAssetGroupAssets, serviceImpl == null ? null : new grpc::UnaryServerMethod <global::Google.Ads.GoogleAds.V9.Services.MutateAssetGroupAssetsRequest, global::Google.Ads.GoogleAds.V9.Services.MutateAssetGroupAssetsResponse>(serviceImpl.MutateAssetGroupAssets));
 }
Ejemplo n.º 2
0
 public static grpc::ServerServiceDefinition BindService(AssetGroupAssetServiceBase serviceImpl)
 {
     return(grpc::ServerServiceDefinition.CreateBuilder()
            .AddMethod(__Method_GetAssetGroupAsset, serviceImpl.GetAssetGroupAsset)
            .AddMethod(__Method_MutateAssetGroupAssets, serviceImpl.MutateAssetGroupAssets).Build());
 }