Class SlowReaderBehaviorWireStrings
- Namespace
- DatabentoDotNet.Live
- Assembly
- DatabentoDotNet.Live.dll
Wire-string conversions for SlowReaderBehavior.
public static class SlowReaderBehaviorWireStrings
- Inheritance
-
SlowReaderBehaviorWireStrings
- Inherited Members
Remarks
Separate from the codec's WireStrings because this enum is a live-session parameter and
never appears in DBN. Same shape and the same rule: no aliases, and what
ToWireString(SlowReaderBehavior) emits is what TryParse(string?, out SlowReaderBehavior) accepts.
Methods
ToWireString(SlowReaderBehavior)
Returns the wire spelling of value.
public static string ToWireString(this SlowReaderBehavior value)
Parameters
valueSlowReaderBehaviorThe value to convert.
Returns
- string
The wire string.
Exceptions
- ArgumentOutOfRangeException
valueis not a defined SlowReaderBehavior.
TryParse(string?, out SlowReaderBehavior)
Tries to parse a wire string into a SlowReaderBehavior.
public static bool TryParse(string? value, out SlowReaderBehavior result)
Parameters
valuestringThe wire string.
resultSlowReaderBehaviorThe parsed value, or the default when parsing fails.