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 text, Action<ICell> constructor) { var result = new Cell(); if (constructor.yes()) constructor(result); return Add(result); }