Table of Contents

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

original MutualFundSymbol

Properties

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

FundName

Gets the name of the mutual fund.

public string? FundName { get; init; }

Property Value

string

TradingSymbol

Gets the trading symbol of the mutual fund.

public string? TradingSymbol { get; init; }

Property Value

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(MutualFundSymbol?)

public virtual bool Equals(MutualFundSymbol? other)

Parameters

other MutualFundSymbol

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(MutualFundSymbol?, MutualFundSymbol?)

public static bool operator ==(MutualFundSymbol? left, MutualFundSymbol? right)

Parameters

left MutualFundSymbol
right MutualFundSymbol

Returns

bool

operator !=(MutualFundSymbol?, MutualFundSymbol?)

public static bool operator !=(MutualFundSymbol? left, MutualFundSymbol? right)

Parameters

left MutualFundSymbol
right MutualFundSymbol

Returns

bool