Méthode | Description | |
---|---|---|
MoveCopyOrLeaveExternalFile ( string sFile, string sRootDirLinkedFiles, IHelpTopicProvider helpTopicProvider, bool isLocal ) : string |
Checks to see whether the given file is located in the given root directory (or any subfolder of it), and if not, prompts the user to allow FW to move, copy, or leave the file. If anything unexpected happens, the default is to leave the file where it is.
|
|
MoveCopyOrLeaveMediaFiles ( string files, string sRootDirLinkedFiles, IHelpTopicProvider helpTopicProvider, bool isLocal ) : string[] |
Checks to see whether the given files are located in the given root directory (or any subfolder of it), and if not, prompts the user to allow FW to move, copy, or leave the files. If anything unexpected happens, the default is to leave the files where they are.
|
Méthode | Description | |
---|---|---|
FileIsInExternalLinksFolder ( string sFile, string sRootDir ) : bool |
Determines whether the given file is located in the given root directory (or any subfolder of it).
|
|
MoveCopyOrLeaveFiles ( string files, string subFolder, string sRootDirExternalLinks, IHelpTopicProvider helpTopicProvider, bool isLocal ) : string[] | ||
PerformMoveCopyOrLeaveFile ( string sFile, string sRootDir, FileLocationChoice action ) : string |
Performs the action the user requested: move, copy, or leave the file.
|
public static MoveCopyOrLeaveExternalFile ( string sFile, string sRootDirLinkedFiles, IHelpTopicProvider helpTopicProvider, bool isLocal ) : string | ||
sFile | string | The fully-specified path name of the file. |
sRootDirLinkedFiles | string | The fully-specified path name of the LinkedFiles root directory. |
helpTopicProvider | IHelpTopicProvider | The help topic provider. |
isLocal | bool | True if running on the local server: allows file not to be moved or copied |
Résultat | string |
public static MoveCopyOrLeaveMediaFiles ( string files, string sRootDirLinkedFiles, IHelpTopicProvider helpTopicProvider, bool isLocal ) : string[] | ||
files | string | The fully-specified path names of the files. |
sRootDirLinkedFiles | string | The fully-specified path name of the LinkedFiles root directory. |
helpTopicProvider | IHelpTopicProvider | The help topic provider. |
isLocal | bool | True if running on the local server: allows file not to be moved or copied |
Résultat | string[] |