Ejemplo n.º 1
0
        public override bool Equals(Object o)
        {
            if (o == null || o.GetType() != this.GetType())
            {
                return(false);
            }
            YahooGroup g = (YahooGroup)o;

            return(Name == g.Name && Notification == g.Notification);
        }
 public void SendMessageToNotifyGroupMembers(IntegrationResult result, String Message)
 {
     foreach (YahooUser yuser in YahooUserIDs.Values)
     {
         YahooGroup group = GetYahooGroup(yuser.Group);
         if (group != null && group.Notification.Equals(YahooGroup.NotificationType.Always))
         {
             YahooWrap.SendYahooMessage(yuser.ID, Message);
         }
     }
 }