Class ForexSymbol
- Namespace
- Tudormobile.FinancialData.Entities
- Assembly
- Tudormobile.FinancialData.dll
Represents a forex currency pair symbol.
See: https://financialdata.net/documentation#forex_symbols
public record ForexSymbol : IEquatable<ForexSymbol>
- Inheritance
-
ForexSymbol
- Implements
- Inherited Members
Constructors
ForexSymbol()
public ForexSymbol()
ForexSymbol(ForexSymbol)
protected ForexSymbol(ForexSymbol original)
Parameters
originalForexSymbol
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Name
Gets the full name of the forex pair.
public string? Name { get; init; }
Property Value
TradingSymbol
Gets the trading symbol of the forex pair.
public string? TradingSymbol { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ForexSymbol?)
public virtual bool Equals(ForexSymbol? other)
Parameters
otherForexSymbol
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ForexSymbol?, ForexSymbol?)
public static bool operator ==(ForexSymbol? left, ForexSymbol? right)
Parameters
leftForexSymbolrightForexSymbol
Returns
operator !=(ForexSymbol?, ForexSymbol?)
public static bool operator !=(ForexSymbol? left, ForexSymbol? right)
Parameters
leftForexSymbolrightForexSymbol