Unit(String, String, Unit, UnitConversion) Constructor
Initializes a new instance of the
Unit class.
Namespace: DevCase.Core.Math.ScienceAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public Unit(
string name,
string symbol,
Unit baseUnit,
params UnitConversion[] unitConversions
)
Public Sub New (
name As String,
symbol As String,
baseUnit As Unit,
ParamArray unitConversions As UnitConversion()
)
Dim name As String
Dim symbol As String
Dim baseUnit As Unit
Dim unitConversions As UnitConversion()
Dim instance As New Unit(name, symbol,
baseUnit, unitConversions)
public:
Unit(
String^ name,
String^ symbol,
Unit^ baseUnit,
... array<UnitConversion^>^ unitConversions
)
new :
name : string *
symbol : string *
baseUnit : Unit *
unitConversions : UnitConversion[] -> Unit
No code example is currently available or this language may not be supported.
Parameters
- name String
-
The name of this Unit.
- symbol String
-
The symbol of this Unit.
- baseUnit Unit
-
The base Unit of this Unit.
- unitConversions UnitConversion
-
An array of UnitConversion containing conversion functions between this Unit and another.