public GridBlockComposite Add(SectionBase rowPart, SectionBase colPart) { var block = GridBlockSimple.Create(rowPart, colPart); _simpleBlocksList.Add(block); return(this); }
public GridBlockComposite Add(SectionsList rowParts, SectionBase colPart) { var blocksList = rowParts .Select(rowPart => GridBlockSimple.Create(rowPart, colPart)); _simpleBlocksList.AddRange(blocksList); return(this); }