Skip to main content

Struct ReactiveEnergy

Represents Reactive Energy

Assembly: Meadow.Units.dll
View Source
Declaration
[Serializable]
public struct ReactiveEnergy : IComparable, IFormattable, IConvertible, IEquatable<double>, IComparable<double>

Implements:
System.IComparable, System.IFormattable, System.IConvertible, System.IEquatable<System.Double>, System.IComparable<System.Double>

Properties

MillivoltAmpereHours

ReactiveEnergy in Millovolt Ampere Hours

View Source
Declaration
public double MillivoltAmpereHours { get; }

VoltAmpereHours

ReactiveEnergy in Volt Ampere Hours

View Source
Declaration
public double VoltAmpereHours { get; }

KilovoltAmpereHours

ReactiveEnergy in Kilvolt Ampere Hours

View Source
Declaration
public double KilovoltAmpereHours { get; }

MegavoltAmpereHours

ReactiveEnergy in Megavolt Ampere Hours

View Source
Declaration
public double MegavoltAmpereHours { get; }

GigavoltAmpereHours

ReactiveEnergy in Gigavolt Ampere Hours

View Source
Declaration
public double GigavoltAmpereHours { get; }

Methods

From(UnitType)

Get a double value for a specific unit

View Source
Declaration
[Pure]
public double From(ReactiveEnergy.UnitType convertTo)
Returns

System.Double: the converted value

Parameters
TypeNameDescription
Meadow.Units.ReactiveEnergy.UnitTypeconvertTounit to covert to

Equals(object)

Compare to another ReactiveEnergy object

View Source
Declaration
[Pure]
public override bool Equals(object obj)
Returns

System.Boolean: true if equal

Parameters
TypeNameDescription
System.ObjectobjThe object to compare

GetHashCode()

Get hash of object

View Source
Declaration
[Pure]
public override int GetHashCode()
Returns

System.Int32: int32 hash value### Equals(ReactiveEnergy) Compare to another Reactive Energy object

View Source
Declaration
[Pure]
public bool Equals(ReactiveEnergy other)
Returns

System.Boolean: true if equal

Parameters
TypeNameDescription
Meadow.Units.ReactiveEnergyotherThe object to compare

CompareTo(ReactiveEnergy)

Compare to anotherReactiveEnergy object

View Source
Declaration
[Pure]
public int CompareTo(ReactiveEnergy other)
Returns

System.Int32: 0 if equal

Parameters
TypeName
Meadow.Units.ReactiveEnergyother

Abs()

Returns the absolute length, that is, the length without regards to negative polarity

View Source
Declaration
[Pure]
public ReactiveEnergy Abs()
Returns

Meadow.Units.ReactiveEnergy

ToString()

Get a string representation of the object

View Source
Declaration
[Pure]
public override string ToString()
Returns

System.String: A string representing the object### ToString(string, IFormatProvider) Get a string representation of the object

View Source
Declaration
[Pure]
public string ToString(string format, IFormatProvider formatProvider)
Returns

System.String: A string representing the object

Parameters
TypeNameDescription
System.Stringformatformat
System.IFormatProviderformatProviderformat provider

CompareTo(object)

Compare to anotherReactiveEnergy object

View Source
Declaration
[Pure]
public int CompareTo(object obj)
Returns

System.Int32: 0 if equal

Parameters
TypeNameDescription
System.ObjectobjThe otherReactiveEnergy cast to object

GetTypeCode()

Get type code of object

View Source
Declaration
[Pure]
public TypeCode GetTypeCode()
Returns

System.TypeCode: The TypeCode### ToBoolean(IFormatProvider) Covert to boolean

View Source
Declaration
[Pure]
public bool ToBoolean(IFormatProvider provider)
Returns

System.Boolean: bool representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToByte(IFormatProvider)

Covert to byte

View Source
Declaration
[Pure]
public byte ToByte(IFormatProvider provider)
Returns

System.Byte: byte representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToChar(IFormatProvider)

Covert to char

View Source
Declaration
[Pure]
public char ToChar(IFormatProvider provider)
Returns

System.Char: char representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToDateTime(IFormatProvider)

Covert to DateTime

View Source
Declaration
[Pure]
public DateTime ToDateTime(IFormatProvider provider)
Returns

System.DateTime: DateTime representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToDecimal(IFormatProvider)

Covert to Decimal

View Source
Declaration
[Pure]
public decimal ToDecimal(IFormatProvider provider)
Returns

System.Decimal: Decimal representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToDouble(IFormatProvider)

Covert to double

View Source
Declaration
[Pure]
public double ToDouble(IFormatProvider provider)
Returns

System.Double: double representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToInt16(IFormatProvider)

Covert to in16

View Source
Declaration
[Pure]
public short ToInt16(IFormatProvider provider)
Returns

System.Int16: int16 representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToInt32(IFormatProvider)

Covert to int32

View Source
Declaration
[Pure]
public int ToInt32(IFormatProvider provider)
Returns

System.Int32: int32 representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToInt64(IFormatProvider)

Covert to int64

View Source
Declaration
[Pure]
public long ToInt64(IFormatProvider provider)
Returns

System.Int64: int64 representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToSByte(IFormatProvider)

Covert to sbyte

View Source
Declaration
[Pure]
public sbyte ToSByte(IFormatProvider provider)
Returns

System.SByte: sbyte representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToSingle(IFormatProvider)

Covert to float

View Source
Declaration
[Pure]
public float ToSingle(IFormatProvider provider)
Returns

System.Single: float representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToString(IFormatProvider)

Covert to string

View Source
Declaration
[Pure]
public string ToString(IFormatProvider provider)
Returns

System.String: string representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToType(Type, IFormatProvider)

Covert to type

View Source
Declaration
[Pure]
public object ToType(Type conversionType, IFormatProvider provider)
Returns

System.Object: type representation of the object

Parameters
TypeNameDescription
System.TypeconversionTypeconversion type
System.IFormatProviderproviderformat provider

ToUInt16(IFormatProvider)

Covert to uint16

View Source
Declaration
[Pure]
public ushort ToUInt16(IFormatProvider provider)
Returns

System.UInt16: uint16 representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToUInt32(IFormatProvider)

Covert to uint32

View Source
Declaration
[Pure]
public uint ToUInt32(IFormatProvider provider)
Returns

System.UInt32: uint32 representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

ToUInt64(IFormatProvider)

Covert to uint64

View Source
Declaration
[Pure]
public ulong ToUInt64(IFormatProvider provider)
Returns

System.UInt64: uint64 representation of the object

Parameters
TypeNameDescription
System.IFormatProviderproviderformat provider

CompareTo(double?)

Compare the default value to a double

View Source
Declaration
[Pure]
public int CompareTo(double? other)
Returns

System.Int32: 0 if equal

Parameters
TypeNameDescription
System.Nullable<System.Double>othervalue to compare

Equals(double?)

Compare the default value to a double

View Source
Declaration
[Pure]
public bool Equals(double? other)
Returns

System.Boolean: 0 if equal

Parameters
TypeNameDescription
System.Nullable<System.Double>othervalue to compare

Equals(double)

Compare the default value to a double

View Source
Declaration
[Pure]
public bool Equals(double other)
Returns

System.Boolean: 0 if equal

Parameters
TypeNameDescription
System.Doubleothervalue to compare

CompareTo(double)

Compare the default value to a double

View Source
Declaration
[Pure]
public int CompareTo(double other)
Returns

System.Int32: 0 if equal

Parameters
TypeNameDescription
System.Doubleothervalue to compare

Implements

  • System.IComparable
  • System.IFormattable
  • System.IConvertible
  • System.IEquatable<System.Double>
  • System.IComparable<System.Double>