GuardIsExistingFile Method |
[This is preliminary documentation and is subject to change.]
Checks if fileFullPath exists on disk
Namespace:
CSInfrastructure.CodeContracts
Assembly:
CSInfrastructure (in CSInfrastructure.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax public static string IsExistingFile(
string fileFullPath,
string paramName
)
Parameters
- fileFullPath
- Type: SystemString
The absolute file path to check - paramName
- Type: SystemString
The name of the parameter being checked
Return Value
Type:
StringThe absolute file path being checked
Exceptions Exception | Condition |
---|
FileNotFoundException | Thrown when the absolute file path provided in fileFullPath does not exist |
See Also