Interface IGetsManifestRuleIdentifier
An object which can create instances of ManifestRuleIdentifier for rules.
Namespace: CSF.Validation.ValidatorBuilding
Assembly: CSF.Validation.dll
Syntax
public interface IGetsManifestRuleIdentifier
Methods
| Improve this Doc View SourceGetManifestRuleIdentifier(Type, ValidatorBuilderContext, String)
Gets the manifest rule identifier for the specified rule type and context.
Declaration
ManifestRuleIdentifier GetManifestRuleIdentifier(Type ruleType, ValidatorBuilderContext context, string name = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | ruleType | The type of the validation rule. |
| ValidatorBuilderContext | context | Contextual information about how validation rules should be built. |
| System.String | name | An optional name for the rule. |
Returns
| Type | Description |
|---|---|
| ManifestRuleIdentifier | A manifest rule identifier. |