C# Class DotNetMigrations.Core.ValueSetValidatorAttribute

Validates that the given value matches one of the valid values in the set.
Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Afficher le fichier Open project: jpoehls/dotnetmigrations

Méthodes publiques

Méthode Description
IsValid ( object value ) : bool
ValueSetValidatorAttribute ( ) : System

Method Details

IsValid() public méthode

public IsValid ( object value ) : bool
value object
Résultat bool

ValueSetValidatorAttribute() public méthode

public ValueSetValidatorAttribute ( ) : System
Résultat System