This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using Google.Apis.AnalyticsReporting.v4; | |
using Google.Apis.AnalyticsReporting.v4.Data; | |
using Google.Apis.Auth.OAuth2; | |
using Google.Apis.Services; | |
namespace Google_api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CC1 : IHandleMessages<MakeCustomerPreferred> | |
{ | |
public IBus Bus { get; set; } | |
public void Handle(MakeCustomerPreferred message) | |
{ | |
Bus.Publish<CustomerHasBeenMadePreferred>(m => m.CustomerId = message.CustomerId); | |
} | |
} |