Ejemplo n.º 1
0
 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;
            }
Ejemplo n.º 3
0
 private void buildPortalTree(TreeNodeCollection nodes, ProjectAggregation projs)
 {
     foreach (Project p in projs)
     {
         buildProjectTree(nodes, p);
     }
 }