Class ManifestIdentifierFactory
A factory service for creating instances of ManifestRuleIdentifier.
Inheritance
System.Object
ManifestIdentifierFactory
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CSF.Validation.ValidatorBuilding
Assembly: CSF.Validation.dll
Syntax
public class ManifestIdentifierFactory : IGetsManifestRuleIdentifier
Methods
| Improve this Doc View SourceGetManifestRuleIdentifier(Type, ValidatorBuilderContext, String)
Gets the manifest rule identifier for the specified rule type and context.
Declaration
public 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. |