public int CompareTo(object obj) { if (!(obj is NotifyContent)) { return(-1); } NotifyContent temp = (NotifyContent)obj; if (temp.NotifyState > temp.NotifyState) { return(1); } else { return(0); } }
public object Clone() { NotifyContent temp = new NotifyContent(); temp._errNotifyType = this._errNotifyType; temp._msgContent = this._msgContent; temp._msgDate = this._msgDate; temp._msgID = this._msgID; temp._msgTitle = this._msgTitle; temp._notifyState = this._notifyState; temp._receiver = this._receiver; temp._sendEMailTime = this._sendEMailTime; temp.AttachmentFileNameList = new List <string>(); foreach (string att in _attachmentFileNameList) { temp.AttachmentFileNameList.Add(att); } return(temp); }
public MailUserToken(string msgID, string logFileName, NotifyContent ntfContext) { _msgID = msgID; _logFileName = logFileName; _ntfContext = ntfContext; }
public object Clone() { NotifyContent temp = new NotifyContent(); temp._errNotifyType = this._errNotifyType; temp._msgContent = this._msgContent; temp._msgDate = this._msgDate; temp._msgID = this._msgID; temp._msgTitle = this._msgTitle; temp._notifyState = this._notifyState; temp._receiver = this._receiver; temp._sendEMailTime = this._sendEMailTime; temp.AttachmentFileNameList = new List<string>(); foreach (string att in _attachmentFileNameList) { temp.AttachmentFileNameList.Add(att); } return temp; }
public MailUserToken(string msgID, string logFileName, NotifyContent ntfContext) { _msgID = msgID; _logFileName = logFileName; _ntfContext = ntfContext; }