Table of Contents

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

value SlowReaderBehavior

The value to convert.

Returns

string

The wire string.

Exceptions

ArgumentOutOfRangeException

value is 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

value string

The wire string.

result SlowReaderBehavior

The parsed value, or the default when parsing fails.

Returns

bool

true when value was recognised.