A Sandcastle Documented Class Library

# TimeDimension Constructor (TimeDimensionProvider, ICollection Int32 )

Initializes a new instance of the TimeDimension class.

Namespace: Dundas.BI.Entities.TimeDimensions
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public TimeDimension(
    	TimeDimensionProvider timeDimensionProvider,
    	ICollection<int> timeIntervals
    )

    Public Sub New (
    	timeDimensionProvider As TimeDimensionProvider,
    	timeIntervals As ICollection(Of Integer)
    )

    public:
    TimeDimension(
    	TimeDimensionProvider^ timeDimensionProvider,
    	ICollection<int>^ timeIntervals
    )

    new :
            timeDimensionProvider : TimeDimensionProvider *
            timeIntervals : ICollection<int> -> TimeDimension

#### Parameters

timeDimensionProvider
  Type: Dundas.BI.Data.TimeDimensionProviders
  TimeDimensionProvider
  The time dimension provider.
timeIntervals
  Type: System.Collections.Generic
  ICollection
  Int32
  The time intervals.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | timeDimensionProvider is .
ArgumentException | The timeIntervals was or empty.

Remarks
Use Save(TimeDimension) to save the instance.
See Also

#### Reference

TimeDimension Class
TimeDimension Overload
Dundas.BI.Entities.TimeDimensions Namespace