Click or drag to resize

GuardIsExistingDirectory Method

[This is preliminary documentation and is subject to change.]

Checks if folder exists on disk

Namespace:  CSInfrastructure.CodeContracts
Assembly:  CSInfrastructure (in CSInfrastructure.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
public static string IsExistingDirectory(
	string folder,
	string paramName
)

Parameters

folder
Type: SystemString
The folder path to check
paramName
Type: SystemString
The name of the parameter being checked

Return Value

Type: String
The folder path being checked
Exceptions
ExceptionCondition
DirectoryNotFoundExceptionThrown when the path provided in folder does not exist
See Also