Show / Hide Table of Contents

Interface IUnit

Defines a unit of measurement that is used as a standard for measurement of the same kind of quantity. Implements the IEquatable<T>

Inherited Members
IEquatable<IUnit>.Equals(IUnit)
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public interface IUnit : IEquatable<IUnit>

Properties

| Improve this Doc View Source

UnitName

Gets the name of the base unit.

Declaration
string UnitName { get; }
Property Value
Type Description
String

The name of the base unit.

| Improve this Doc View Source

UnitSymbol

Gets the symbol of the base unit.

Declaration
string UnitSymbol { get; }
Property Value
Type Description
String

The symbol of the base unit.

| Improve this Doc View Source

UnitValue

Gets the base value of the unit.

Declaration
double UnitValue { get; }
Property Value
Type Description
Double

The base value of the unit.

Methods

| Improve this Doc View Source

ToString(Action<UnitFormatOptions>)

Returns a String that represents this instance.

Declaration
string ToString(Action<UnitFormatOptions> setup)
Parameters
Type Name Description
Action<UnitFormatOptions> setup

The UnitFormatOptions which need to be configured.

Returns
Type Description
String

A String that represents this instance.

See Also

IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright 2008-2022 Geekle. All rights reserved. Code with passion and love; deploy with confidence. 👨‍💻️🔥❤️🚀😎
Generated by DocFX