TimeIntervalCollectionT Constructor (TimeIntervalCollection, T) |
Initializes a new interval collection by copying an existing one that does not have data.
The
Data property of each interval in the new collection will be set to
a specified value.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public TimeIntervalCollection(
TimeIntervalCollection collection,
T data
)
Public Sub New (
collection As TimeIntervalCollection,
data As T
)
public:
TimeIntervalCollection(
TimeIntervalCollection^ collection,
T data
)
new :
collection : TimeIntervalCollection *
data : 'T -> TimeIntervalCollection
Parameters
- collection
- Type: AGI.Foundation.TimeTimeIntervalCollection
The collection to copy. - data
- Type: T
The Data property to use for each interval in the new collection.
See Also