Table of Contents

Struct Resistivity

Namespace
H.Extensions.Unit
Assembly
H.Extensions.Unit.dll
public readonly struct Resistivity : IPhysicalQuantity
Implements
Inherited Members
Extension Methods

Constructors

Resistivity(PhysicalQuantity)

public Resistivity(PhysicalQuantity q)

Parameters

q PhysicalQuantity

Resistivity(double)

public Resistivity(double v)

Parameters

v double

Properties

Dimensions

public Dimensions Dimensions { get; }

Property Value

Dimensions

Value

public double Value { get; init; }

Property Value

double

Methods

Compare(Resistivity, Resistivity)

public static int Compare(Resistivity v1, Resistivity v2)

Parameters

v1 Resistivity
v2 Resistivity

Returns

int

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

Parse(string)

public static Resistivity Parse(string s)

Parameters

s string

Returns

Resistivity

Parse(string, UnitsSystem)

public static Resistivity Parse(string s, UnitsSystem system)

Parameters

s string
system UnitsSystem

Returns

Resistivity

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

ToString(params Unit[])

public string ToString(params Unit[] units)

Parameters

units Unit[]

Returns

string

ToString(UnitsSystem, FormatOption)

public string ToString(UnitsSystem system, UnitsSystem.FormatOption option)

Parameters

system UnitsSystem
option UnitsSystem.FormatOption

Returns

string

ToString(FormatOption)

public string ToString(UnitsSystem.FormatOption option)

Parameters

option UnitsSystem.FormatOption

Returns

string

ToString(int, params Unit[])

public string ToString(int precision, params Unit[] units)

Parameters

precision int
units Unit[]

Returns

string

TryParse(string, out Resistivity)

public static bool TryParse(string s, out Resistivity q)

Parameters

s string
q Resistivity

Returns

bool

TryParse(string, UnitsSystem, out Resistivity)

public static bool TryParse(string s, UnitsSystem system, out Resistivity q)

Parameters

s string
system UnitsSystem
q Resistivity

Returns

bool

Operators

operator +(Resistivity, Resistivity)

public static Resistivity operator +(Resistivity v1, Resistivity v2)

Parameters

v1 Resistivity
v2 Resistivity

Returns

Resistivity

operator /(Resistivity, Dimensionless)

public static Resistivity operator /(Resistivity v1, Dimensionless v2)

Parameters

v1 Resistivity
v2 Dimensionless

Returns

Resistivity

operator /(Resistivity, Length)

public static Resistance operator /(Resistivity v1, Length v2)

Parameters

v1 Resistivity
v2 Length

Returns

Resistance

operator /(Resistivity, Resistance)

public static Length operator /(Resistivity v1, Resistance v2)

Parameters

v1 Resistivity
v2 Resistance

Returns

Length

operator /(Resistivity, Resistivity)

public static Dimensionless operator /(Resistivity v1, Resistivity v2)

Parameters

v1 Resistivity
v2 Resistivity

Returns

Dimensionless

operator /(Resistivity, double)

public static Resistivity operator /(Resistivity v1, double v2)

Parameters

v1 Resistivity
v2 double

Returns

Resistivity

operator /(Resistivity, int)

public static Resistivity operator /(Resistivity v1, int v2)

Parameters

v1 Resistivity
v2 int

Returns

Resistivity

operator ==(Resistivity, Resistivity)

public static bool operator ==(Resistivity v1, Resistivity v2)

Parameters

v1 Resistivity
v2 Resistivity

Returns

bool

operator >(Resistivity, Resistivity)

public static bool operator >(Resistivity v1, Resistivity v2)

Parameters

v1 Resistivity
v2 Resistivity

Returns

bool

operator >=(Resistivity, Resistivity)

public static bool operator >=(Resistivity v1, Resistivity v2)

Parameters

v1 Resistivity
v2 Resistivity

Returns

bool

operator !=(Resistivity, Resistivity)

public static bool operator !=(Resistivity v1, Resistivity v2)

Parameters

v1 Resistivity
v2 Resistivity

Returns

bool

operator <(Resistivity, Resistivity)

public static bool operator <(Resistivity v1, Resistivity v2)

Parameters

v1 Resistivity
v2 Resistivity

Returns

bool

operator <=(Resistivity, Resistivity)

public static bool operator <=(Resistivity v1, Resistivity v2)

Parameters

v1 Resistivity
v2 Resistivity

Returns

bool

operator *(Resistivity, Dimensionless)

public static Resistivity operator *(Resistivity v1, Dimensionless v2)

Parameters

v1 Resistivity
v2 Dimensionless

Returns

Resistivity

operator *(Resistivity, Length)

public static ResistanceTimesArea operator *(Resistivity v1, Length v2)

Parameters

v1 Resistivity
v2 Length

Returns

ResistanceTimesArea

operator *(Resistivity, double)

public static Resistivity operator *(Resistivity v1, double v2)

Parameters

v1 Resistivity
v2 double

Returns

Resistivity

operator *(Resistivity, int)

public static Resistivity operator *(Resistivity v1, int v2)

Parameters

v1 Resistivity
v2 int

Returns

Resistivity

operator *(double, Resistivity)

public static Resistivity operator *(double v1, Resistivity v2)

Parameters

v1 double
v2 Resistivity

Returns

Resistivity

operator -(Resistivity, Resistivity)

public static Resistivity operator -(Resistivity v1, Resistivity v2)

Parameters

v1 Resistivity
v2 Resistivity

Returns

Resistivity

operator -(Resistivity)

public static Resistivity operator -(Resistivity v)

Parameters

v Resistivity

Returns

Resistivity