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(int, params FieldInfo[])
Constructor.
Declaration
public FieldInfo(int tag, params FieldInfo[] fields)
Parameters
Type | Name | Description |
---|---|---|
int | tag | Field tag |
FieldInfo[] | fields | Repeating group fields |
FieldInfo(int, string, params FieldInfo[])
Constructor.
Declaration
public FieldInfo(int tag, string name, params FieldInfo[] fields)
Parameters
Type | Name | Description |
---|---|---|
int | tag | Field tag |
string | name | Field name. If absent the tag number will be used as a name |
FieldInfo[] | fields | Repeating group fields |
FieldInfo(int, string, bool, params FieldInfo[])
Constructor.
Declaration
public FieldInfo(int tag, string name, bool isRequired = false, params FieldInfo[] fields)
Parameters
Type | Name | Description |
---|---|---|
int | tag | Field tag |
string | name | Field name. If absent the tag number will be used as a name |
bool | isRequired |
|
FieldInfo[] | fields | Repeating group fields |
FieldInfo(int, string, bool, string, FieldTypeInfo)
Constructor.
Declaration
public FieldInfo(int tag, string name = null, bool isRequired = false, string description = null, FieldTypeInfo fieldType = null)
Parameters
Type | Name | Description |
---|---|---|
int | tag | Field tag |
string | name | Field name. If absent tag will be used as name |
bool | 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 |
---|---|
int |
Index
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
int |
IsRequired
Declaration
public bool IsRequired { get; }
Property Value
Type | Description |
---|---|
bool |
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 |
---|---|
int |
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 |
---|---|
bool | 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. |