Exemple #1
0
 public IRow AddHead(string text, Action<ICell> advanced)
 {
     var head = new Header {Text = text};
     if (advanced.yes())
         advanced(head);
     return Add(head);
 }
Exemple #2
0
 public IRow Add(string text, Action<ICell> constructor)
 {
     var result = new Cell();
     if (constructor.yes()) constructor(result);
     return Add(result);
 }