Skip to content

e392fdc8 517a aabb c72a 9616ff1869bd

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

UnitSystem.Initialize Method

Initializes this instance.

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 Initialize(
	Action<IUnitRegistrar> registerUnitAction,
	IUnitSystemDependencyFactory unitSystemDependencyFactory = null
)

C#

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

VB

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

VB

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

C++

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

C++

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

F#

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

F#

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

Parameters

 

registerUnitAction
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.Initialize(System.Action{Sundew.Quantities.Engine.Registration.IUnitRegistrar},Sundew.Quantities.Engine.IUnitSystemDependencyFactory)"]

See Also

Reference

UnitSystem Class
Sundew.Quantities.Engine Namespace

Clone this wiki locally