Esempio n. 1
0
        public GridBlockComposite Add(SectionBase rowPart, SectionBase colPart)
        {
            var block = GridBlockSimple.Create(rowPart, colPart);

            _simpleBlocksList.Add(block);

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

            _simpleBlocksList.AddRange(blocksList);

            return(this);
        }