Table of Contents

Class FileOrDirectoryExistsAttribute

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

Specifies that the data must be an already existing file or directory.

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

Constructors

FileOrDirectoryExistsAttribute()

Initializes an instance of FileOrDirectoryExistsAttribute.

public FileOrDirectoryExistsAttribute()