Esempio n. 1
0
 public AvailableTask(TenroxTask task, TenroxClient client)
 {
     if (task == null) throw new ArgumentNullException("task");
     if (client == null) throw new ArgumentNullException("client");
     _task = task;
     _client = client;
 }
Esempio n. 2
0
 private AvailableTask Build(AssignmentAttribute attribute)
 {
     TenroxTask task = new TenroxTask(attribute.AssignmentName, attribute.AssignmentUid);
     TenroxClient client = new TenroxClient(attribute.ClientName, attribute.ClientUid);
     return new AvailableTask(task, client);
 }