Skip to content

e20c5687 0308 1071 2155 f8febadd5e78

Kim Hugener-Ohlsen edited this page May 28, 2016 · 2 revisions

Time Constructor (Double, SelectUnit(TimeUnitSelector))

Initializes a new instance of the Time class.

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

Syntax

C#

public Time(
	double time,
	SelectUnit<TimeUnitSelector> timeUnitSelector
)

C#

public Time(
	double time,
	SelectUnit<TimeUnitSelector> timeUnitSelector
)

VB

Public Sub New ( 
	time As Double,
	timeUnitSelector As SelectUnit(Of TimeUnitSelector)
)

VB

Public Sub New ( 
	time As Double,
	timeUnitSelector As SelectUnit(Of TimeUnitSelector)
)

C++

public:
Time(
	double time, 
	SelectUnit<TimeUnitSelector^>^ timeUnitSelector
)

C++

public:
Time(
	double time, 
	SelectUnit<TimeUnitSelector^>^ timeUnitSelector
)

F#

new : 
        time : float * 
        timeUnitSelector : SelectUnit<TimeUnitSelector> -> Time

F#

new : 
        time : float * 
        timeUnitSelector : SelectUnit<TimeUnitSelector> -> Time

Parameters

 

time
Type: System.Double
The time.
timeUnitSelector
Type: Sundew.Quantities.Engine.UnitSelection.SelectUnit(TimeUnitSelector)
The time unit selector.

See Also

Reference

Time Class
Time Overload
Sundew.Quantities.Periodics Namespace

Clone this wiki locally