Table of Contents

Class Format.BaseNumber

Inheritance
Format.BaseNumber
Implements
Derived
Inherited Members
Namespace
TabularEditor.SemanticBridge.Platforms.Databricks.MetricView
Assembly
SemanticBridge.dll
public abstract record Format.BaseNumber : Format, IEquatable<Format>, Format.IMetricViewNumericFormat, IEquatable<Format.BaseNumber>
Extension Methods

Constructors

BaseNumber()

protected BaseNumber()

BaseNumber(BaseNumber)

protected BaseNumber(Format.BaseNumber original)

Parameters

Type Name Description
Format.BaseNumber original

Properties

DecimalPlaces

Decimal places configuration

public Format.DecimalPlaceSpec? DecimalPlaces { get; set; }

Property Value

Type Description
Format.DecimalPlaceSpec?

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type Description
Type

HideGroupSeparator

Whether to hide the group separator (e.g., commas in 1,000)

public bool? HideGroupSeparator { get; set; }

Property Value

Type Description
bool?

Type

The type of format (i.e., "number", "currency", "percentage", "byte", "date", "datetime")

public override abstract Format.FormatType Type { get; }

Property Value

Type Description
Format.FormatType

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

Type Name Description
object obj

Returns

Type Description
bool

Equals(Format?)

public override sealed bool Equals(Format? other)

Parameters

Type Name Description
Format other

Returns

Type Description
bool

Equals(BaseNumber?)

public virtual bool Equals(Format.BaseNumber? other)

Parameters

Type Name Description
Format.BaseNumber other

Returns

Type Description
bool

GetHashCode()

public override int GetHashCode()

Returns

Type Description
int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

Type Name Description
StringBuilder builder

Returns

Type Description
bool

ToString()

public override string ToString()

Returns

Type Description
string

Operators

operator ==(BaseNumber?, BaseNumber?)

public static bool operator ==(Format.BaseNumber? left, Format.BaseNumber? right)

Parameters

Type Name Description
Format.BaseNumber left
Format.BaseNumber right

Returns

Type Description
bool

operator !=(BaseNumber?, BaseNumber?)

public static bool operator !=(Format.BaseNumber? left, Format.BaseNumber? right)

Parameters

Type Name Description
Format.BaseNumber left
Format.BaseNumber right

Returns

Type Description
bool