Enumerates the time intervals and allocations of the resource within a specified timeline page considering the resource schedule if specified, or the specified default schedule otherwise.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)
Syntax
C# |
---|
public IEnumerable<Allocation> GetAllocations( DateTime start, DateTime finish, Schedule defaultSchedule ) |
Visual Basic (Declaration) |
---|
Public Function GetAllocations ( _ start As DateTime, _ finish As DateTime, _ defaultSchedule As Schedule _ ) As IEnumerable(Of Allocation) |
Parameters
- start
- Type: System..::.DateTime
The date and time to start the enumeration at.
- finish
- Type: System..::.DateTime
The date and time to finish the enumeration at.
- defaultSchedule
- Type: DlhSoft.Windows.Data..::.Schedule
The default schedule to use if the resource schedule is not specified.