Struct SerializedFieldRef
A temporary reference to a field in the SerializedMessage instance.
Note: The reference is valid only while manipulating it's field value. If another message field is updated, the reference may become invalid. References also are invalidated when the SerializedMessage instance is sent to the counterparty via Send(SerializedMessage) method/>.
Implements
Inherited Members
Namespace: OnixS.Fix
Assembly: OnixS.Fix.Engine.dll
Syntax
public struct SerializedFieldRef : IEquatable<SerializedFieldRef>
Properties
IsValid
True if SerializedFieldRef is initialized
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
bool |
Valid
Declaration
[Obsolete("Use IsValid property instead")]
public bool Valid { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
Equals(SerializedFieldRef)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(SerializedFieldRef other)
Parameters
Type | Name | Description |
---|---|---|
SerializedFieldRef | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
Equals(object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current instance. |
Returns
Type | Description |
---|---|
bool | true if |
Overrides
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The fully qualified type name. |
Overrides
Operators
operator ==(SerializedFieldRef, SerializedFieldRef)
Declaration
public static bool operator ==(SerializedFieldRef a, SerializedFieldRef b)
Parameters
Type | Name | Description |
---|---|---|
SerializedFieldRef | a | |
SerializedFieldRef | b |
Returns
Type | Description |
---|---|
bool |
operator !=(SerializedFieldRef, SerializedFieldRef)
Declaration
public static bool operator !=(SerializedFieldRef a, SerializedFieldRef b)
Parameters
Type | Name | Description |
---|---|---|
SerializedFieldRef | a | |
SerializedFieldRef | b |
Returns
Type | Description |
---|---|
bool |