Interface IGetsRuleConfiguration
An object which can get an executable action that will configure a validation rule instance based on a series of specified property values.
Namespace: CSF.Validation.ManifestModel
Assembly: CSF.Validation.dll
Syntax
public interface IGetsRuleConfiguration
Methods
| Improve this Doc View SourceGetRuleConfigurationAction(Type, IDictionary<String, Object>)
Gets the configuration action which sets the specified property values upon a rule instance.
Declaration
Action<object> GetRuleConfigurationAction(Type ruleType, IDictionary<string, object> rulePropertyValues)
Parameters
Type | Name | Description |
---|---|---|
System.Type | ruleType | The System.Type of validation rule for which the action should operate. |
System.Collections.Generic.IDictionary<System.String, System.Object> | rulePropertyValues | A collection of named property values to be set upon the rule instance by the action. |
Returns
Type | Description |
---|---|
System.Action<System.Object> | An executable action which sets the specified property values into the rule instance. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If |
System.ArgumentException | If the |