Interface IResolvesRule
An object which can get/resolve instances of validation rule types based upon their concrete System.Type.
Namespace: CSF.Validation.Rules
Assembly: CSF.Validation.Abstractions.dll
Syntax
public interface IResolvesRule
Methods
| Improve this Doc View SourceResolveRule(Type)
Gets/resolves an instance of the specified ruleType
.
Declaration
object ResolveRule(Type ruleType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | ruleType | The concrete type of rule to resolve. |
Returns
Type | Description |
---|---|
System.Object | The resolved validation rule instance. |