Class ValidatorFactory
Provides ability to create validators.
Inheritance
System.Object
ValidatorFactory
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: FixAntenna.Fix.Validation.Engine.Validators.Factory
Assembly: FixAntenna.Validation.dll
Syntax
public sealed class ValidatorFactory : IValidatorFactory
Methods
CreateAllValidators()
Creates list of validator.
Declaration
public IValidatorContainer CreateAllValidators()
Returns
Type | Description |
---|---|
IValidatorContainer | validator container |
See Also
CreateFactory(FixVersionContainer, FixVersionContainer)
Creates validation factory for build any validators.
Declaration
public static IValidatorFactory CreateFactory(FixVersionContainer fixVersion, FixVersionContainer appVersion)
Parameters
Type | Name | Description |
---|---|---|
FixVersionContainer | fixVersion | FIX version of dictionary. |
FixVersionContainer | appVersion | Application FIX version of dictionary. |
Returns
Type | Description |
---|---|
IValidatorFactory | Instance of |
CreateRequiredValidator()
Creates message type validator.
Declaration
public IValidatorContainer CreateRequiredValidator()
Returns
Type | Description |
---|---|
IValidatorContainer | Container with instance of |
CreateValidator(ValidatorType)
Creates the validator.
Declaration
public IValidator CreateValidator(ValidatorType type)
Parameters
Type | Name | Description |
---|---|---|
ValidatorType | type |
Returns
Type | Description |
---|---|
IValidator |