Struct

Energy

USI.Core

Public SDK type.

public struct Energy : IEquatable<Energy>

Constructors

Energy

public Energy(double Value, EnergyUnit Unit)

Properties

Joules

public double Joules { get; }

Unit

public EnergyUnit Unit { get; set; }

Value

public double Value { get; set; }

Methods

Deconstruct

public void Deconstruct(double Value, EnergyUnit Unit)

Equals

public bool Equals(object obj)

Equals

public bool Equals(Energy other)

GetHashCode

public int GetHashCode()

In

public Energy In(EnergyUnit unit)

ToString

public string ToString()