Search Results for

    Show / Hide Table of Contents

    Class FileOrDirectoryExistsAttribute

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

    Inheritance
    System.Object
    System.Attribute
    System.ComponentModel.DataAnnotations.ValidationAttribute
    FilePathExistsAttributeBase
    FileOrDirectoryExistsAttribute
    Inherited Members
    FilePathExistsAttributeBase.IsValid(Object, ValidationContext)
    Namespace: McMaster.Extensions.CommandLineUtils
    Assembly: McMaster.Extensions.CommandLineUtils.dll
    Syntax
    [AttributeUsage(AttributeTargets.Property)]
    public sealed class FileOrDirectoryExistsAttribute : FilePathExistsAttributeBase

    Constructors

    | Improve this Doc View Source

    FileOrDirectoryExistsAttribute()

    Initializes an instance of FileOrDirectoryExistsAttribute.

    Declaration
    public FileOrDirectoryExistsAttribute()
    • Improve this Doc
    • View Source
    In This Article
    Back to top