Table of Contents

Class DirectoryExistsAttribute

Namespace
McMaster.Extensions.CommandLineUtils
Assembly
McMaster.Extensions.CommandLineUtils.dll

Specifies that the data must be an already existing directory, not a file.

[AttributeUsage(AttributeTargets.Property)]
public sealed class DirectoryExistsAttribute : FilePathExistsAttributeBase
Inheritance
object
Attribute
ValidationAttribute
DirectoryExistsAttribute

Constructors

DirectoryExistsAttribute()

Initializes an instance of FileExistsAttribute.

public DirectoryExistsAttribute()