Class BlockDefinitionsUtils
Inheritance
System.Object
BlockDefinitionsUtils
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.Utils.Definitions
Assembly: FixAntenna.Validation.dll
Syntax
public sealed class BlockDefinitionsUtils : IFixMessageDefinitions<Blockdef>
Constructors
BlockDefinitionsUtils(Dictionaries)
Creates the BlockDefinitionsUtils
.
Declaration
public BlockDefinitionsUtils(Dictionaries dictionariesContainer)
Parameters
Type | Name | Description |
---|---|---|
Dictionaries | dictionariesContainer | the dictionary |
Methods
Contains(String)
Checks if block with name blockName exists.
Declaration
public bool Contains(string blockName)
Parameters
Type | Name | Description |
---|---|---|
System.String | blockName | the block name |
Returns
Type | Description |
---|---|
System.Boolean |
Get()
Gets the collection of block.
Declaration
public ICollection<Blockdef> Get()
Returns
Type | Description |
---|---|
System.Collections.Generic.ICollection<Blockdef> |
Get(String)
Gets the block.
Declaration
public Blockdef Get(string blockName)
Parameters
Type | Name | Description |
---|---|---|
System.String | blockName | the block name |
Returns
Type | Description |
---|---|
Blockdef |
GetMessageTypes()
Gets set of block
Declaration
public ISet<string> GetMessageTypes()
Returns
Type | Description |
---|---|
System.Collections.Generic.ISet<System.String> |
GetRequiredTags(String)
Gets required tags for message.
Declaration
public IList<int> GetRequiredTags(string blockName)
Parameters
Type | Name | Description |
---|---|---|
System.String | blockName | the block name |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<System.Int32> |
Put(IList<Blockdef>)
Puts the blocks to the map.
Declaration
public void Put(IList<Blockdef> elements)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<Blockdef> | elements | the block collection |