Table of Contents

Class Format.Byte

Inheritance
Format.Byte
Implements
Inherited Members
Namespace
TabularEditor.SemanticBridge.Platforms.Databricks.MetricView
Assembly
SemanticBridge.dll

Byte: Use byte format for data size values displayed with appropriate byte units (KB, MB, GB, etc.).

public record Format.Byte : Format.BaseNumber, IEquatable<Format>, Format.IMetricViewNumericFormat, IEquatable<Format.BaseNumber>, IEquatable<Format.Byte>
Extension Methods

Constructors

Byte()

public Byte()

Byte(Byte)

protected Byte(Format.Byte original)

Parameters

Type Name Description
Format.Byte original

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type Description
Type

Type

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

public override 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(BaseNumber?)

public override sealed bool Equals(Format.BaseNumber? other)

Parameters

Type Name Description
Format.BaseNumber other

Returns

Type Description
bool

Equals(Byte?)

public virtual bool Equals(Format.Byte? other)

Parameters

Type Name Description
Format.Byte 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 ==(Byte?, Byte?)

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

Parameters

Type Name Description
Format.Byte left
Format.Byte right

Returns

Type Description
bool

operator !=(Byte?, Byte?)

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

Parameters

Type Name Description
Format.Byte left
Format.Byte right

Returns

Type Description
bool