예제 #1
0
파일: Alerts.cs 프로젝트: UrviGandhi/IGRSS
        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);
        }
예제 #2
0
파일: Alerts.cs 프로젝트: UrviGandhi/IGRSS
        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;
        }