static void Main(string[] args)
        {
            var encoder = new VideoEncoder();

            encoder.RegisterNotificationChannel(new MailNotificacionChannel());
            encoder.RegisterNotificationChannel(new SMSNotificationChannel());
            encoder.RegisterNotificationChannel(new XboxNotificacionChannel());
            encoder.Encode(new Video());
        }
        static void Main(string[] args)
        {
            var encoder = new VideoEncoder();

            // Encode method takes video object
            encoder.RegistrationNotificationChannel(new MailNotificationChannel());
            encoder.RegistrationNotificationChannel(new SmsNotificationChannel());
            encoder.Encode(new Video());
        }