C# Class System.IO.Tests.File_Replace_str_str_str

Inheritance: System.IO.Tests.FileSystemTest
Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Méthode Description
Replace ( string source, string dest, string destBackup ) : void
Replace ( string source, string dest, string destBackup, bool ignoreMetadataErrors ) : void

Private Methods

Méthode Description
Backup_FileCopiedAndDeleted_DestCopied ( bool backupExists, bool ignoreMetadataErrors ) : void
InvalidFileNames ( ) : void
NoBackup_FileCopiedAndDeleted ( ) : void
NonExistentDestPath_ThrowsException ( ) : void
NonExistentSourcePath_ThrowsException ( ) : void
NullFileName ( ) : void

Method Details

Replace() public méthode

public Replace ( string source, string dest, string destBackup ) : void
source string
dest string
destBackup string
Résultat void

Replace() public méthode

public Replace ( string source, string dest, string destBackup, bool ignoreMetadataErrors ) : void
source string
dest string
destBackup string
ignoreMetadataErrors bool
Résultat void