Class FieldInfo
Provides information about the FIX message field.
Inherited Members
Namespace: OnixS.Fix.Dictionaries
Assembly: OnixS.Fix.Engine.dll
Syntax
public class FieldInfo : ICloneable, IEquatable<FieldInfo>
Constructors
FieldInfo(Int32, FieldInfo[])
Constructor.
Declaration
public FieldInfo(int tag, params FieldInfo[] fields)
Parameters
Type | Name | Description |
---|---|---|
Int32 | tag | Field tag |
FieldInfo[] | fields | Repeating group fields |
FieldInfo(Int32, String, FieldInfo[])
Constructor.
Declaration
public FieldInfo(int tag, string name, params FieldInfo[] fields)
Parameters
Type | Name | Description |
---|---|---|
Int32 | tag | Field tag |
String | name | Field name. If absent the tag number will be used as a name |
FieldInfo[] | fields | Repeating group fields |
FieldInfo(Int32, String, Boolean, FieldInfo[])
Constructor.
Declaration
public FieldInfo(int tag, string name, bool isRequired = false, params FieldInfo[] fields)
Parameters
Type | Name | Description |
---|---|---|
Int32 | tag | Field tag |
String | name | Field name. If absent the tag number will be used as a name |
Boolean | isRequired |
|
FieldInfo[] | fields | Repeating group fields |
FieldInfo(Int32, String, Boolean, String, FieldTypeInfo)
Constructor.
Declaration
public FieldInfo(int tag, string name = null, bool isRequired = false, string description = null, FieldTypeInfo fieldType = null)
Parameters
Type | Name | Description |
---|---|---|
Int32 | tag | Field tag |
String | name | Field name. If absent tag will be used as name |
Boolean | isRequired |
|
String | description | Field description |
FieldTypeInfo | fieldType | Field type |
Properties
Description
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
String |
Group
Repeating group content.
Declaration
public FieldContainerInfo Group { get; set; }
Property Value
Type | Description |
---|---|
FieldContainerInfo |
GroupIndex
Index of repeating group.
Declaration
public int GroupIndex { get; }
Property Value
Type | Description |
---|---|
Int32 |
Index
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
Int32 |
IsRequired
Declaration
public bool IsRequired { get; }
Property Value
Type | Description |
---|---|
Boolean |
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
Parent
Declaration
public FieldContainerInfo Parent { get; }
Property Value
Type | Description |
---|---|
FieldContainerInfo |
Tag
Declaration
public int Tag { get; }
Property Value
Type | Description |
---|---|
Int32 |
Type
Declaration
public FieldTypeInfo Type { get; }
Property Value
Type | Description |
---|---|
FieldTypeInfo |
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public virtual object Clone()
Returns
Type | Description |
---|---|
Object | A new object that is a copy of this instance. |
Equals(FieldInfo)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(FieldInfo other)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | other |
Returns
Type | Description |
---|---|
Boolean | true if the specified object is equal to the current object; otherwise, false. |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string that represents the current object. |