コード例 #1
0
ファイル: Row.cs プロジェクト: Qorpent/comdiv.oldcore
 public IRow AddHead(string text, Action<ICell> advanced)
 {
     var head = new Header {Text = text};
     if (advanced.yes())
         advanced(head);
     return Add(head);
 }
コード例 #2
0
ファイル: Row.cs プロジェクト: Qorpent/comdiv.oldcore
 public IRow Add(string text, Action<ICell> constructor)
 {
     var result = new Cell();
     if (constructor.yes()) constructor(result);
     return Add(result);
 }