Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/03/18 14:38:17 (6 years ago)
Author:
jzenisek
Message:

#2839:

  • adapted icons: replaced ".PublishToWeb" with ".Save"
  • pre-select project with all resources for new jobs, if it is the only available
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive/3.3/HiveClient.cs

    r15995 r16044  
    319319      else return Enumerable.Empty<Resource>();
    320320    }
     321
     322    public IEnumerable<Resource> GetAvailableResourcesForProject(Guid id) {
     323      var assignedProjectResources = HiveServiceLocator.Instance.CallHiveService(s => s.GetAssignedResourcesForProject(id));
     324      return resources.Where(x => assignedProjectResources.Select(y => y.ResourceId).Contains(x.Id));
     325    }
    321326    #endregion
    322327
Note: See TracChangeset for help on using the changeset viewer.