Class FilePathNotExistsAttributeBase
Base type for attributes that check for files or directories not existing.
Inheritance
System.Object
    System.Attribute
    System.ComponentModel.DataAnnotations.ValidationAttribute
    FilePathNotExistsAttributeBase
      
      
      
  Namespace: McMaster.Extensions.CommandLineUtils.Validation
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public abstract class FilePathNotExistsAttributeBase : ValidationAttributeMethods
| Improve this Doc View SourceIsValid(Object, ValidationContext)
Declaration
protected override ValidationResult IsValid(object value, ValidationContext validationContext)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | value | |
| System.ComponentModel.DataAnnotations.ValidationContext | validationContext | 
Returns
| Type | Description | 
|---|---|
| System.ComponentModel.DataAnnotations.ValidationResult | 
Overrides
System.ComponentModel.DataAnnotations.ValidationAttribute.IsValid(System.Object, System.ComponentModel.DataAnnotations.ValidationContext)