Esempio n. 1
0
        public static SkypeNotifier CreateNotifier()
        {
            var notifier = new SkypeNotifier();

            if (!notifier.AttachToSkype())
                throw new AntelopeSkypeNotifierException(SkypeNotifierErrorCode.AttachError);

            return notifier;
        }
Esempio n. 2
0
 public void Notifier_Skype_NotifierUnknownTarget()
 {
     var notifier = new SkypeNotifier();
     notifier.AttachToSkype();
     notifier.Notify(
         new SkypeSubcriber() { Handle = "anonymous" },
         new SkypeNotifierData() { Message = "send me" });
 }
Esempio n. 3
0
 public void Notifier_Skype_NotifierSuccessful()
 {
     var notifier = new SkypeNotifier();
     notifier.AttachToSkype();
     notifier.Notify(
         new SkypeSubcriber() { Handle = "legoslight" },
         new SkypeNotifierData() { Message = "antelope - message" });
 }