Class DummyMessageValidator
The dummy message validator implementation. This validator used instead of real validator.
Inheritance
System.Object
DummyMessageValidator
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
Assembly: FixAntenna.Message.dll
Syntax
public class DummyMessageValidator : IMessageValidator
Methods
GetInstance()
Declaration
public static IMessageValidator GetInstance()
Returns
Type | Description |
---|---|
IMessageValidator |
SetContentValidation(Boolean)
Sets the content validation flag.
Declaration
public virtual void SetContentValidation(bool isContentValidation)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isContentValidation | the content validation flag |
Validate(FixMessage)
Validates the message.
Declaration
public virtual IValidationResult Validate(FixMessage message)
Parameters
Type | Name | Description |
---|---|---|
FixMessage | message | the fix message |
Returns
Type | Description |
---|---|
IValidationResult | the result contains the errors collection if it exists. |
Validate(FixMessage, IValidationResult)
Validates the message.
Declaration
public virtual void Validate(FixMessage message, IValidationResult result)
Parameters
Type | Name | Description |
---|---|---|
FixMessage | message | the ValidationResult object to avoid GC |
IValidationResult | result | the fix message |
ValidateContent(String, FixMessage)
Validates the content of message.
Declaration
public virtual IValidationResult ValidateContent(string msgType, FixMessage content)
Parameters
Type | Name | Description |
---|---|---|
System.String | msgType | the message type |
FixMessage | content | the content of message |
Returns
Type | Description |
---|---|
IValidationResult |