C# Class DotNetMigrations.Core.ValueSetValidatorAttribute

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

Public Methods

Method Description
IsValid ( object value ) : bool
ValueSetValidatorAttribute ( ) : System

Method Details

IsValid() public method

public IsValid ( object value ) : bool
value object
return bool

ValueSetValidatorAttribute() public method

public ValueSetValidatorAttribute ( ) : System
return System