Class MutualFundSymbol
- Namespace
- Tudormobile.FinancialData.Entities
- Assembly
- Tudormobile.FinancialData.dll
Represents a mutual fund symbol, including its trading symbol and name.
public record MutualFundSymbol : IEquatable<MutualFundSymbol>
- Inheritance
-
MutualFundSymbol
- Implements
- Inherited Members
Constructors
MutualFundSymbol()
public MutualFundSymbol()
MutualFundSymbol(MutualFundSymbol)
protected MutualFundSymbol(MutualFundSymbol original)
Parameters
originalMutualFundSymbol
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
FundName
Gets the name of the mutual fund.
public string? FundName { get; init; }
Property Value
TradingSymbol
Gets the trading symbol of the mutual fund.
public string? TradingSymbol { get; init; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(MutualFundSymbol?)
public virtual bool Equals(MutualFundSymbol? other)
Parameters
otherMutualFundSymbol
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 ==(MutualFundSymbol?, MutualFundSymbol?)
public static bool operator ==(MutualFundSymbol? left, MutualFundSymbol? right)
Parameters
leftMutualFundSymbolrightMutualFundSymbol
Returns
operator !=(MutualFundSymbol?, MutualFundSymbol?)
public static bool operator !=(MutualFundSymbol? left, MutualFundSymbol? right)
Parameters
leftMutualFundSymbolrightMutualFundSymbol