Table of Contents

Class FileExistsAttribute

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

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

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

Constructors

FileExistsAttribute()

Initializes an instance of FileExistsAttribute.

public FileExistsAttribute()