public static ILogItem CreateLogItem(SvnLogEventArgsWrapper logEvent) { var logItem = new LogItem { Author = logEvent.Author, Message = logEvent.LogMessage, Time = logEvent.Time, Revision = logEvent.Revision }; foreach(var directive in DirectiveExtractor.Find(logEvent.LogMessage)) { logItem.Directives.Add(directive); } foreach(var ticket in TicketExtractor.Find(logEvent.LogMessage)) { logItem.Tickets.Add(ticket); } return logItem; }
public StubLogEvent(string location, SvnLogEventArgsWrapper logEvent) { Location = location; LogEvent = logEvent; }