Class ValidatorContainer
Contains the list of validators.
Inheritance
System.Object
ValidatorContainer
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
Assembly: FixAntenna.Validation.dll
Syntax
public class ValidatorContainer : IValidatorContainer
Methods
GetAllValidators()
Gets validators.
Declaration
public virtual IList<IValidator> GetAllValidators()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<IValidator> | the list of validator |
GetMessageTypeValidator()
Gets validators.
Declaration
public virtual IValidator GetMessageTypeValidator()
Returns
Type | Description |
---|---|
IValidator | the list of validator |
GetValidator(ValidatorType)
Gets the validator by validator type.
Declaration
public virtual IValidator GetValidator(ValidatorType type)
Parameters
Type | Name | Description |
---|---|---|
ValidatorType | type | the type of validator |
Returns
Type | Description |
---|---|
IValidator |
GetValidatorsWithOutInputs(IList<ValidatorType>)
Gets the validators with specific types.
Declaration
public virtual IList<IValidator> GetValidatorsWithOutInputs(IList<ValidatorType> types)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<ValidatorType> | types |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<IValidator> |
GetValidatorsWithOutMessageType()
Gets the validators. The result does not contain MessageType
validator.
Declaration
public virtual IList<IValidator> GetValidatorsWithOutMessageType()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<IValidator> |
GetValidatorType()
Gets the list of type validator.
Declaration
public virtual ISet<ValidatorType> GetValidatorType()
Returns
Type | Description |
---|---|
System.Collections.Generic.ISet<ValidatorType> | the list of validator |
PutNewValidator(ValidatorType, IValidator)
Declaration
public virtual void PutNewValidator(ValidatorType type, IValidator validator)
Parameters
Type | Name | Description |
---|---|---|
ValidatorType | type | |
IValidator | validator |
PutOtherValidators(IValidatorContainer)
Appends the validators from container
container into current instance.
Declaration
public virtual void PutOtherValidators(IValidatorContainer container)
Parameters
Type | Name | Description |
---|---|---|
IValidatorContainer | container |