コード例 #1
0
 private void updateComment(HistoryItemMetaData savedHistoryItemMetaData, IHistoryItem historyItem, ISession session)
 {
     savedHistoryItemMetaData.Command.Comment = historyItem.Command.Comment;
     _historyItemMetaDataRepository.SaveCommand(savedHistoryItemMetaData, session);
 }
コード例 #2
0
 private bool commentHasChanged(HistoryItemMetaData savedHistoryItem, IHistoryItem historyItem)
 {
     return(!string.Equals(savedHistoryItem.Command.Comment, historyItem.Command.Comment));
 }