public MarkOfDeath(CPPlotLogReadable plotLogReadable) { this.LogFolder = plotLogReadable.LogFolder; this.LogFile = plotLogReadable.LogFile; this.PlaceInLogFile = 1; this.DiedAt = DateTime.Now; }
public bool IsMatch(CPPlotLogReadable plotLog) { if (!string.Equals(this.LogFolder, plotLog.LogFolder)) { return(false); } if (!string.Equals(this.LogFile, plotLog.LogFile)) { return(false); } return(true); }