/// <summary> /// Initializes a new instance of the <see cref="FilePathAndLabel"/> class. /// </summary> /// <param name="filePath">The file path.</param> /// <param name="fileLabel">The file label.</param> public FilePathAndLabel(string filePath, FileLabel fileLabel) { FilePath = filePath; FileLabel = fileLabel; }
/// <summary> /// Gets a copy of this instance with new file labels. /// </summary> /// <param name="sourceFileLabel">The source file label.</param> /// <param name="targetFileLabel">The target file label.</param> public SourceAndTargetFilePathsAndLabels GetCopyWithNewFileLabels(FileLabel sourceFileLabel, FileLabel targetFileLabel) { return(new SourceAndTargetFilePathsAndLabels( new FilePathAndLabel(SourceFilePathAndLabel.FilePath, sourceFileLabel), new FilePathAndLabel(TargetFilePathAndLabel.FilePath, targetFileLabel))); }