Beispiel #1
0
        static void Main(string[] args)
        {
            var video = new Video()
            {
                Title = "Video"
            };
            var videoEncoder = new VideoEncorder();

            MailService    mailS      = new MailService(videoEncoder);
            MessageService messageSer = new MessageService(videoEncoder);

            videoEncoder.VideoEncoder(video);
            Console.Read();
        }
Beispiel #2
0
 public MessageService(VideoEncorder ve)
 {
     ve.OnEncoded += OnVideoEncoded;
 }
Beispiel #3
0
 public MailService(VideoEncorder ve)
 {
     ve.OnEncoded += OnVideoEncoded;
 }