FixId

StockSharp.Fix.Native

Combined string + long identifier used in FIX protocol messages. Holds both string representation (for FIX text protocol) and optional long value (for SBE binary protocol).

Реализует: IEquatable<FixId>

Конструкторы

FixId(string)

Combined string + long identifier used in FIX protocol messages. Holds both string representation (for FIX text protocol) and optional long value (for SBE binary protocol).

Str
String representation of the identifier.

Свойства

N : long?

Optional numeric representation of the identifier (used for SBE optimization).

Str : string

String representation of the identifier.

Методы

From(string, long?) : FixId

Create FixId from string and optional long value.

FromLong(long) : FixId

Create FixId from a long value (populates both string and numeric fields).

IsEmpty() : bool

Whether the identifier is empty (no numeric value and empty string).

op_Implicit(String) : FixId

Implicit conversion from FixId to string (returns Str).

op_Implicit(FixId) : FixId

Implicit conversion from string to FixId.

ToLong() : long

Convert to long. Uses N if available, otherwise parses Str.

ToLongN() : long?

Convert to nullable long. Returns null if both N and Str are empty.

ToString() : string

Преобразовать к строковому представлению.

Возвращает: Строковое представление.