Class ResourceLeveler
Namespace: Aspose.Tasks.Leveling
Assembly: Aspose.Tasks.dll (25.2.0)
Contains resource leveling methods.
public static class ResourceLeveler
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
ClearLeveling(Project)
Clears any leveling delay that was previously added to the project during resource leveling.
public static void ClearLeveling(Project project)
Parameters
project
Project
Project to clear leveling.
ClearLeveling(IEnumerable<task>)
Clears any leveling delay that was previously added to the specified tasks during resource leveling.
public static void ClearLeveling(IEnumerable<task> tasks)
Parameters
tasks
IEnumerable<Task>
The enumerable containing tasks for which leveling delay should be cleared.
LevelAll(Project)
Levels tasks for all project’s resources using default leveling options.
public static LevelingResult LevelAll(Project project)
Parameters
project
Project
Project to apply resource leveling.
Returns
Object containing results of resource leveling.
LevelResources(Project, LevelingOptions)
Levels tasks for the specified resources using the specified leveling options.
public static LevelingResult LevelResources(Project project, LevelingOptions options)
Parameters
project
Project
Project to apply resource leveling.
options
LevelingOptions
Options which specifies how to level resources.
Returns
Object containing results of resource leveling.
Exceptions
if parameter options is null. </task>