Search Results for

    Show / Hide Table of Contents

    Class FileExistsAttribute

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

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

    Constructors

    | Improve this Doc View Source

    FileExistsAttribute()

    Initializes an instance of FileExistsAttribute.

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