Search Results for

    Show / Hide Table of Contents

    Class DirectoryExistsAttribute

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

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

    Constructors

    | Improve this Doc View Source

    DirectoryExistsAttribute()

    Initializes an instance of FileExistsAttribute.

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