Class ConditionalValidator
Implementation of IValidator that supports conditional validation.
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
Assembly: FixAntenna.Validation.dll
Syntax
public class ConditionalValidator : AbstractValidator, IValidator
Constructors
ConditionalValidator(FixUtil)
Creates the ConditionalValidator
.
Declaration
public ConditionalValidator(FixUtil util)
Parameters
Type | Name | Description |
---|---|---|
FixUtil | util | the fixutil |
Methods
Validate(String, IValidationFixMessage, Boolean)
Method "validate" validates of FIX message and returns list of errors of validation process.
Declaration
public override FixErrorContainer Validate(string msgType, IValidationFixMessage message, bool isContentValidation)
Parameters
Type | Name | Description |
---|---|---|
System.String | msgType | Type of Message. |
IValidationFixMessage | message | FIX Message. |
System.Boolean | isContentValidation | If true that is mean that will be validation only content of FIX message, without header or trailer. |
Returns
Type | Description |
---|---|
FixErrorContainer | List of errors of validation, if process of validationg is done successeful method returns empty list of errors. |
Overrides
ValidateConditionalTags(IDictionary<Int32, ICondition>, ValidationFixMessage, FixMessage, Boolean, FixErrorContainer)
Declaration
public virtual void ValidateConditionalTags(IDictionary<int, ICondition> conditionMap, ValidationFixMessage message, FixMessage fixMessage, bool fromGroup, FixErrorContainer errors)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.Int32, ICondition> | conditionMap | |
ValidationFixMessage | message | |
FixMessage | fixMessage | |
System.Boolean | fromGroup | |
FixErrorContainer | errors |