public IRow AddHead(string text, Action<ICell> advanced) { var head = new Header {Text = text}; if (advanced.yes()) advanced(head); return Add(head); }
public IRow Add(string name, string text, string[] classes) { Cell cell = null; if (createsHeadersOnDefault) cell = new Header {Name = name, Text = text}; else cell = new Cell {Name = name, Text = text}; BindClasses(classes, cell); return Add(cell); }