Пример #1
0
 protected virtual AuditLogEntry CreateBaseEntry(SrmDocumentPair docPair)
 {
     return(MessageInfo.Type == MessageType.none
         ? AuditLogEntry.CreateEmptyEntry(docPair.OldDoc).ChangeAllInfo(new LogMessage[0])
         : AuditLogEntry.CreateSingleMessageEntry(docPair.OldDoc, MessageInfo));
 }
Пример #2
0
 public void Add(params MessageInfo[] allInfoMessages)
 {
     Add(docPair => AuditLogEntry.CreateEmptyEntry(docPair.OldDoc).ChangeAllInfo(allInfoMessages));
 }