Пример #1
0
        public override void Deliver(string description)
        {
            EmailNotify emailNotify = new EmailNotify();

            emailNotify.Notify(description);
            SMSNotify smsNotify = new SMSNotify();

            smsNotify.Notify(description);
        }
Пример #2
0
        public override void Deliver(string description)
        {
            EmailNotify emailNotify = new EmailNotify();

            emailNotify.Notify(description);
            PortalNotify portalNotify = new PortalNotify();

            portalNotify.Notify(description);
        }