Class LevelingResult
LevelingResult class
Represents the results of resource leveling.
public sealed class LevelingResult
Constructors
Name | Description |
---|---|
LevelingResult() | Initializes a new instance of the LevelingResult class. |
Properties
Name | Description |
---|---|
AffectedTasks { get; } | Gets a set of tasks affected by resource leveling. |
Examples
Shows how to level all project’s resources using default options.
var project = new Project(DataDir + "Software Development Plan.mpp");
var levelingResult = ResourceLeveler.LevelAll(project);
foreach (var task in levelingResult.AffectedTasks)
{
Console.WriteLine("Task affected by the leveling operation: " + task.Name);
}
project.Save(OutDir + "Software Development Plan.leveled.mpp");
ResourceLeveler.ClearLeveling(project);
Console.WriteLine("Leveling cleared");
See Also
- namespace Aspose.Tasks.Leveling
- assembly Aspose.Tasks