Table of Contents

Method TryParseToString

Namespace
WhalesSecret.TradeScriptLib.Entities
Assembly
WhalesSecret.TradeScriptLib.dll

TryParseToString(string, out ExchangeSymbolPair?)

Parses output of ToString() back to the symbol pair.

public static bool TryParseToString(string str, out ExchangeSymbolPair? exchangeSymbolPair)

Parameters

str string

String to parse.

exchangeSymbolPair ExchangeSymbolPair?

If the function succeeds, this is set to the exchange symbol pair that corresponds to the input string.

Returns

bool

true if parsing was successful, false if the format of the string to parse was invalid.