Class OneOfThese
Assembly: AnalysisPrograms.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public class OneOfThese : ValidationAttribute
Constructors
|
Improve this Doc
View Source
OneOfThese(String[])
Declaration
public OneOfThese(params string[] validItems)
Parameters
Type |
Name |
Description |
String[] |
validItems |
|
Properties
|
Improve this Doc
View Source
ExceptionMessage
Declaration
public string ExceptionMessage { get; set; }
Property Value
|
Improve this Doc
View Source
ValidItems
Declaration
public string[] ValidItems { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
IsValid(Object, ValidationContext)
Declaration
protected override ValidationResult IsValid(object value, ValidationContext validationContext)
Parameters
Returns
Overrides
Extension Methods