Class FileOrDirectoryExistsAttribute
Specifies that the data must be an already existing file or directory.
Inheritance
System.Object
System.Attribute
System.ComponentModel.DataAnnotations.ValidationAttribute
FileOrDirectoryExistsAttribute
Inherited Members
Namespace: McMaster.Extensions.CommandLineUtils
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public sealed class FileOrDirectoryExistsAttribute : FilePathExistsAttributeBase
Constructors
| Improve this Doc View SourceFileOrDirectoryExistsAttribute()
Initializes an instance of FileOrDirectoryExistsAttribute.
Declaration
public FileOrDirectoryExistsAttribute()