コード例 #1
0
        public ITableBuilderOptions <TModel> Columns(Action <ColumnBuilder <TModel> > builderAction)
        {
            var builder = new ColumnBuilder <TModel>(this);

            builderAction.Invoke(builder);
            return(this);
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ColumnPropertyBuilder{TModel, TProperty}"/> class.
 /// </summary>
 /// <param name="columnBuilder">The column builder.</param>
 /// <param name="column">The column.</param>
 public ColumnPropertyBuilder(ColumnBuilder <TModel> columnBuilder, ITableColumn <TModel> column)
 {
     this.columnBuilder = columnBuilder;
     this.Column        = column;
 }