Interface ICondition
Namespace: FixAntenna.Fix.Validation.Engine.Validators.Condition
Assembly: FixAntenna.Validation.dll
Syntax
public interface ICondition
Methods
GetTags()
Gets the tags list
Declaration
IList<int> GetTags()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<System.Int32> |
IsGroupTags()
Returns true, if this group tag.
Declaration
bool IsGroupTags()
Returns
Type | Description |
---|---|
System.Boolean |
IsRequired(FixMessage)
Returns true, if msg has a required tag.
Declaration
bool IsRequired(FixMessage msg)
Parameters
Type | Name | Description |
---|---|---|
FixMessage | msg |
Returns
Type | Description |
---|---|
System.Boolean |
SetGroupTags(Boolean)
Setter for group.
Declaration
void SetGroupTags(bool isGroup)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isGroup | the group flag |
ValidateCondition(Int32, FixMessage, String, IDictionary<Int32, ICondition>, Boolean)
This method proposes for the validate condition rules.
Declaration
bool ValidateCondition(int validateTag, FixMessage msg, string msgType, IDictionary<int, ICondition> tagsMap, bool inversion)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | validateTag | Tag with conditional rule. |
FixMessage | msg | |
System.String | msgType | Type of FIXMessage. |
System.Collections.Generic.IDictionary<System.Int32, ICondition> | tagsMap | All tags with conditional for current part of FIXMessage. |
System.Boolean | inversion | Inversion: if true all validations are doing in invert order. |
Returns
Type | Description |
---|---|
System.Boolean | true if condition valid in other case false. |