Esempio n. 1
0
 public IRow AddHead(string text, Action<ICell> advanced)
 {
     var head = new Header {Text = text};
     if (advanced.yes())
         advanced(head);
     return Add(head);
 }
Esempio n. 2
0
        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);
        }