Table of Contents

ToAggregateString Method

Definition

Namespace
Codebelt.Unitify
Assemblies
Codebelt.Unitify.dll
Source
src/Codebelt.Unitify/DataPrefixTable.cs

ToAggregateString(bool, bool, bool)

Returns an aggregated string of all multiple prefixes of this instance.

public string ToAggregateString(bool includeBinary = true, bool includeDecimal = true, bool includeUnit = true)

Parameters

includeBinary bool

If set to true, includes all binary-multiple prefixes in the aggregate.

includeDecimal bool

If set to true, includes all metric-multiple prefixes in the aggregate.

includeUnit bool

If set to true, includes the base unit in the aggregate.

Returns

string

An aggregated string of all multiple prefixes of this instance.