Initializes a new instance of the Allocation class.
Namespace:
DlhSoft.Windows.DataAssembly: DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)
Syntax
| C# |
|---|
public Allocation( Resource resource, TimeInterval timeInterval, double units, double completedEffortUnits, bool isAvailable ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ resource As Resource, _ timeInterval As TimeInterval, _ units As Double, _ completedEffortUnits As Double, _ isAvailable As Boolean _ ) |
Parameters
- resource
- Type: DlhSoft.Windows.Data..::.Resource
The allocated resource.
- timeInterval
- Type: DlhSoft.Windows.Data..::.TimeInterval
Time interval of the allocation.
- units
- Type: System..::.Double
Units value of the allocation.
- completedEffortUnits
- Type: System..::.Double
Completed effort units value of the allocation.
- isAvailable
- Type: System..::.Boolean
A value that indicates whether the resource is available for the assignments.