示例#1
0
 public TaskCommentChangeEvent(TaskComment taskComment, string oldValue, string newValue)
 {
     Type       = EventType.Change;
     Target     = taskComment;
     OldComment = oldValue;
     NewComment = newValue;
     EntityName = Target.GetType().Name;
 }
示例#2
0
 public TaskCommentCreateEvent(TaskComment taskComment)
 {
     Type       = EventType.Create;
     Target     = taskComment;
     EntityName = Target.GetType().Name;
 }