Method | Description | |
---|---|---|
AnnotationsRuleProvider ( ) : System |
Automatically creates property validation rules for the specified ModelType instances based on data annotation attributes associated with properties declared on each type.
|
|
AnnotationsRuleProvider ( IEnumerable |
Automatically creates property validation rules for the specified ModelType instances based on data annotation attributes associated with properties declared on each type.
|
|
GetRules ( |
Gets the set of precondition rules created by the provider.
|
public AnnotationsRuleProvider ( IEnumerable |
||
types | IEnumerable |
|
return | System |
public GetRules ( |
||
sourceType | ||
name | string | |
return | IEnumerable |