예제 #1
0
        public GridBlockComposite Add(SectionBase rowPart, SectionBase colPart)
        {
            var block = GridBlockSimple.Create(rowPart, colPart);

            _simpleBlocksList.Add(block);

            return(this);
        }
예제 #2
0
        public GridBlockComposite Add(SectionsList rowParts, SectionBase colPart)
        {
            var blocksList =
                rowParts
                .Select(rowPart => GridBlockSimple.Create(rowPart, colPart));

            _simpleBlocksList.AddRange(blocksList);

            return(this);
        }