Beispiel #1
0
        static void Main(string[] args)
        {
            var twitterMessage  = new TwitterMessagingService();
            var facebookMessage = new FacebookMessagingService();
            var tinderMessage   = new TinderMessagingService();

            MessagingHelper.SayHelloAllServices(tinderMessage, facebookMessage, twitterMessage);
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            var twitterMessagingService   = new TwitterMessagingService();
            var facebookMessangingService = new FacebookMessagingService();
            var linkedinMessagingService  = new LinkedInMessagingService();

            MessagingHelper.SayHelloAllServices(twitterMessagingService, facebookMessangingService, linkedinMessagingService);
        }