Exemple #1
0
        IgrssAlert DecodeAlert(AlertsRow row)
        {
            IgrssAlert alert = new IgrssAlert();

            alert.AlertId  = row.AlertId;
            alert.Message  = row.Message;
            alert.IsActive = row.IsActive;
            alert.SentAt   = row.SentAt;
            alert.SentBy   = row.SentBy;
            alert.SentTo   = row.SentTo;
            alert.Link     = row.Link;
            XmlDocument doc = new XmlDocument();

            doc.LoadXml(row.Info);
            alert.SessionData = WorkflowSupport.DeSerilizeDictionary(doc);

            return(alert);
        }
Exemple #2
0
        IgrssAlert DecodeAlert(AlertsRow row)
        {
            IgrssAlert alert = new IgrssAlert();
            alert.AlertId = row.AlertId;
            alert.Message = row.Message;
            alert.IsActive = row.IsActive;
            alert.SentAt = row.SentAt;
            alert.SentBy = row.SentBy;
            alert.SentTo = row.SentTo;
            alert.Link = row.Link;
            XmlDocument doc = new XmlDocument();
            doc.LoadXml(row.Info);
            alert.SessionData = WorkflowSupport.DeSerilizeDictionary(doc);

            return alert;
        }