This rule ensure that a directory exists from a given path.
Usage:
Just add a new instance of DirectoryExistsRule to argument validation rules when initializing the directory argument object.
1
myDirectoryArg = myDirectoryArg.WithValidationRule(new DirectoryExistsRule());