Home Validation Rules Directory exists
Post
Cancel

Directory exists

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());