private void buildPortalTree(TreeNodeCollection nodes, ProjectAggregation projs) { foreach (Project p in projs) { buildProjectTree(nodes, p); } }
/// <summary> /// Set ProjectAggregation For this TableAggregationBuilder /// </summary> /// <returns></returns> public TableAggregationBuilder WithProject(ProjectAggregation aggregation) { if (_projectAggregation != null) throw new GameServiceException("ProjectAggregation Has Already Been Set") .LogException<TableAggregationBuilder>(DebugLocation.Internal, "WithProject"); _projectAggregation = aggregation ?? throw new GameServiceException("Aggregation Cant Be Null") .LogException<TableAggregationBuilder>(DebugLocation.Internal, "WithProject"); return this; }