Class ValidatedValueFromBasisFactory
A service which creates an instance of ValidatedValue from a ValidatedValueBasis.
Inheritance
System.Object
ValidatedValueFromBasisFactory
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.RuleExecution
Assembly: CSF.Validation.dll
Syntax
public class ValidatedValueFromBasisFactory : IGetsValidatedValueFromBasis
Constructors
| Improve this Doc View SourceValidatedValueFromBasisFactory(IGetsValidationLogic)
Initialises a new instance of ValidatedValueFromBasisFactory.
Declaration
public ValidatedValueFromBasisFactory(IGetsValidationLogic validationLogicFactory)
Parameters
Type | Name | Description |
---|---|---|
IGetsValidationLogic | validationLogicFactory | A validation logic factory. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If |
Methods
| Improve this Doc View SourceGetValidatedValue(ValidatedValueBasis)
Gets the validated value.
Declaration
public ValidatedValue GetValidatedValue(ValidatedValueBasis basis)
Parameters
Type | Name | Description |
---|---|---|
ValidatedValueBasis | basis | A validated-value basis. |
Returns
Type | Description |
---|---|
ValidatedValue | A validated value. |