예제 #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();
        }
예제 #2
0
 public MessageService(VideoEncorder ve)
 {
     ve.OnEncoded += OnVideoEncoded;
 }
예제 #3
0
 public MailService(VideoEncorder ve)
 {
     ve.OnEncoded += OnVideoEncoded;
 }