Méthode | Description | |
---|---|---|
AllowedValuesRule ( string rootType, string property, |
||
AllowedValuesRule ( string rootType, string property, |
||
AllowedValuesRule ( string rootType, string property, |
||
AllowedValuesRule ( string rootType, string property, |
||
AllowedValuesRule ( string rootType, string property, string source, Error error, RuleInvocationType invocationTypes, bool ignoreValidation = false ) : System | ||
AllowedValuesRule ( string rootType, string property, string source, RuleInvocationType invocationTypes, bool ignoreValidation = false ) : System | ||
AllowedValuesRule ( string rootType, string property, string source, bool ignoreValidation = false ) : System | ||
AllowedValuesRule ( string rootType, string property, string source, string errorMessage, bool ignoreValidation = false ) : System | ||
GetAllowedValues ( ModelInstance root, ModelProperty property ) : IEnumerable |
Gets the set of allowed values for the specified instance and property.
|
Méthode | Description | |
---|---|---|
ConditionApplies ( ModelInstance root ) : bool |
Méthode | Description | |
---|---|---|
CreateError ( string property ) : ConditionType>.Func |
||
GetAllowedValues ( ModelInstance root ) : IEnumerable | ||
InitializeSource ( string source, |
public AllowedValuesRule ( string rootType, string property, |
||
rootType | string | |
property | string | |
source | ||
error | Error | |
invocationTypes | RuleInvocationType | |
ignoreValidation | bool | |
Résultat | System |
public AllowedValuesRule ( string rootType, string property, |
||
rootType | string | |
property | string | |
source | ||
invocationTypes | RuleInvocationType | |
ignoreValidation | bool | |
Résultat | System |
public AllowedValuesRule ( string rootType, string property, |
||
rootType | string | |
property | string | |
source | ||
ignoreValidation | bool | |
Résultat | System |
public AllowedValuesRule ( string rootType, string property, |
||
rootType | string | |
property | string | |
source | ||
errorMessage | string | |
ignoreValidation | bool | |
Résultat | System |
public AllowedValuesRule ( string rootType, string property, string source, Error error, RuleInvocationType invocationTypes, bool ignoreValidation = false ) : System | ||
rootType | string | |
property | string | |
source | string | |
error | Error | |
invocationTypes | RuleInvocationType | |
ignoreValidation | bool | |
Résultat | System |
public AllowedValuesRule ( string rootType, string property, string source, RuleInvocationType invocationTypes, bool ignoreValidation = false ) : System | ||
rootType | string | |
property | string | |
source | string | |
invocationTypes | RuleInvocationType | |
ignoreValidation | bool | |
Résultat | System |
public AllowedValuesRule ( string rootType, string property, string source, bool ignoreValidation = false ) : System | ||
rootType | string | |
property | string | |
source | string | |
ignoreValidation | bool | |
Résultat | System |
public AllowedValuesRule ( string rootType, string property, string source, string errorMessage, bool ignoreValidation = false ) : System | ||
rootType | string | |
property | string | |
source | string | |
errorMessage | string | |
ignoreValidation | bool | |
Résultat | System |
protected ConditionApplies ( ModelInstance root ) : bool | ||
root | ModelInstance | |
Résultat | bool |
public static GetAllowedValues ( ModelInstance root, ModelProperty property ) : IEnumerable | ||
root | ModelInstance | |
property | ModelProperty | |
Résultat | IEnumerable |