Class
FileConflict
ConsoleMonster.FileSystem
An existing destination file met by a copy or move, with what's needed to decide.
Inheritance
- object
- FileConflict
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property FileOperationOptions.ResolveConflict
Inherited Methods
Properties
public DateTime SourceModified { get; } #When the source was last modified, in UTC.
public DateTime TargetModified { get; } #When the existing file was last modified, in UTC.
public bool SourceIsNewer { get; } #Whether the source was modified after the existing file.
public bool IsSameFile { get; } #Whether source and destination are the same file, which can only be kept or copied under a new name.
public string RenameTarget { get; set; } #The path written by FileConflictResolution.Rename: a free name next to the target, such as report (2).csv. A UI may replace it with the name the user typed; a name without a folder stays next to the target.