Skip to content

23ee68f6 23f1 38f2 1b95 c91122da6ee2

Kim Hugener-Ohlsen edited this page May 28, 2016 · 1 revision

UnitSystem.InitializeWithDefaults Method

Initializes the with defaults.

Namespace: Sundew.Quantities.Engine
Assembly: Sundew.Quantities (in Sundew.Quantities.dll) Version: 1.0.2.0 (1.0.2.0)

Syntax

C#

public static UnitSystemDependencies InitializeWithDefaults(
	Action<IUnitRegistrar> registerUnitAction = null,
	IUnitSystemDependencyFactory unitSystemDependencyFactory = null
)

C#

public static UnitSystemDependencies InitializeWithDefaults(
	Action<IUnitRegistrar> registerUnitAction = null,
	IUnitSystemDependencyFactory unitSystemDependencyFactory = null
)

VB

Public Shared Function InitializeWithDefaults ( 
	Optional registerUnitAction As Action(Of IUnitRegistrar) = Nothing,
	Optional unitSystemDependencyFactory As IUnitSystemDependencyFactory = Nothing
) As UnitSystemDependencies

VB

Public Shared Function InitializeWithDefaults ( 
	Optional registerUnitAction As Action(Of IUnitRegistrar) = Nothing,
	Optional unitSystemDependencyFactory As IUnitSystemDependencyFactory = Nothing
) As UnitSystemDependencies

C++

public:
static UnitSystemDependencies^ InitializeWithDefaults(
	Action<IUnitRegistrar^>^ registerUnitAction = nullptr, 
	IUnitSystemDependencyFactory^ unitSystemDependencyFactory = nullptr
)

C++

public:
static UnitSystemDependencies^ InitializeWithDefaults(
	Action<IUnitRegistrar^>^ registerUnitAction = nullptr, 
	IUnitSystemDependencyFactory^ unitSystemDependencyFactory = nullptr
)

F#

static member InitializeWithDefaults : 
        ?registerUnitAction : Action<IUnitRegistrar> * 
        ?unitSystemDependencyFactory : IUnitSystemDependencyFactory 
(* Defaults:
        let _registerUnitAction = defaultArg registerUnitAction null
        let _unitSystemDependencyFactory = defaultArg unitSystemDependencyFactory null
*)
-> UnitSystemDependencies 

F#

static member InitializeWithDefaults : 
        ?registerUnitAction : Action<IUnitRegistrar> * 
        ?unitSystemDependencyFactory : IUnitSystemDependencyFactory 
(* Defaults:
        let _registerUnitAction = defaultArg registerUnitAction null
        let _unitSystemDependencyFactory = defaultArg unitSystemDependencyFactory null
*)
-> UnitSystemDependencies 

Parameters

 

registerUnitAction (Optional)
Type: System.Action(IUnitRegistrar)
The register unit action.
unitSystemDependencyFactory (Optional)
Type: Sundew.Quantities.Engine.IUnitSystemDependencyFactory
The unit system dependency factory.

Return Value

Type: UnitSystemDependencies
[Missing documentation for "M:Sundew.Quantities.Engine.UnitSystem.InitializeWithDefaults(System.Action{Sundew.Quantities.Engine.Registration.IUnitRegistrar},Sundew.Quantities.Engine.IUnitSystemDependencyFactory)"]

See Also

Reference

UnitSystem Class
Sundew.Quantities.Engine Namespace

Clone this wiki locally