Class Format.Percentage
- Inheritance
-
Format.Percentage
- Implements
-
- Inherited Members
-
Percentage: Use percentage format for ratio values expressed as percentages.
public record Format.Percentage : Format.BaseNumber, IEquatable<Format>, Format.IMetricViewNumericFormat, IEquatable<Format.BaseNumber>, IEquatable<Format.Percentage>
- Extension Methods
-
Constructors
protected Percentage(Format.Percentage original)
Parameters
Properties
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 override sealed bool Equals(Format.BaseNumber? other)
Parameters
Returns
public virtual bool Equals(Format.Percentage? 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.Percentage? left, Format.Percentage? right)
Parameters
Returns
public static bool operator !=(Format.Percentage? left, Format.Percentage? right)
Parameters
Returns