Class Format.Currency
- Inheritance
-
Format.Currency
- Implements
-
- Inherited Members
-
Currency: Use currency format for monetary values with ISO-4217 currency codes.
public record Format.Currency : Format.Number, IEquatable<Format>, Format.IMetricViewNumericFormat, IEquatable<Format.BaseNumber>, IEquatable<Format.Number>, IEquatable<Format.Currency>
- Extension Methods
-
Constructors
[SetsRequiredMembers]
protected Currency(Format.Currency original)
Parameters
Properties
ISO 4217 currency code (e.g., "USD", "EUR", "JPY")
public required string CurrencyCode { get; set; }
Property Value
protected override Type EqualityContract { get; }
Property Value
The type of format (i.e., "number", "currency", "percentage",
"byte", "date", "datetime")
public override Format.FormatType Type { get; }
Property Value
Methods
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
public virtual bool Equals(Format.Currency? other)
Parameters
Returns
public override sealed bool Equals(Format.Number? other)
Parameters
Returns
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
Returns
public override string ToString()
Returns
Operators
public static bool operator ==(Format.Currency? left, Format.Currency? right)
Parameters
Returns
public static bool operator !=(Format.Currency? left, Format.Currency? right)
Parameters
Returns