Class FieldAllowedInMessageValidator
Implementation of IValidator that supports field allowed in message 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 FieldAllowedInMessageValidator : AbstractValidator, IValidator
Constructors
FieldAllowedInMessageValidator(FixUtil)
Creates the FieldAllowedInMessageValidation
.
Declaration
public FieldAllowedInMessageValidator(FixUtil util)
Parameters
Type | Name | Description |
---|---|---|
FixUtil | util | of type FixUtils |
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. |