Creating Resource Assignments

Resource assignments are links between a task and a resource. This article explains how to create resource assignment using Aspose.Tasks for .NET.

Creating Resource Assignments

The Resource class exposes two different ways of creating a resource assignment, either using the default constructor or by passing a task and resource.

Programming Sample: Default Constructor Create a ResourceAssignment instance without requiring any parameters to be passed.

Creating Multiple Resource Assignments

The following code example demonstrates how to set multiple resource assignments for one task and set user-defined start and end date for the resources.