示例#1
0
        private static void SendRaport()
        {
            var sendRaports       = new SendFailureRaports();
            var sendRaportByEmail = new SendRaportByEmail(sendRaports);

            sendRaports.AddObserver(sendRaportByEmail);
            sendRaports.NotifyObservers(Checker.WebServiceList);
        }
 public SendRaportByEmail(SendFailureRaports sendRaports)
 {
     this.sendRaports = sendRaports;
 }