Beispiel #1
0
 /// <summary>
 /// Creates the full-text index column.
 /// </summary>
 /// <param name="column">The column.</param>
 /// <returns>Newly created <see cref="IndexColumn"/> object.</returns>
 public new IndexColumn CreateIndexColumn(DataTableColumn column)
 {
     ArgumentValidator.EnsureArgumentNotNull(column, "column");
     return(new IndexColumn(this, column, true));
 }
 internal IndexColumn(Index index, DataTableColumn column, bool ascending)
 {
     Column         = column;
     Index          = index;
     this.ascending = ascending;
 }
Beispiel #3
0
 /// <summary>
 /// Creates the index column.
 /// </summary>
 /// <param name="column">The column.</param>
 public IndexColumn CreateIndexColumn(DataTableColumn column)
 {
     return(CreateIndexColumn(column, true));
 }
Beispiel #4
0
 /// <summary>
 /// Creates the index column.
 /// </summary>
 /// <param name="column">The column.</param>
 /// <param name="ascending">The sort direction.</param>
 public IndexColumn CreateIndexColumn(DataTableColumn column, bool ascending)
 {
     ArgumentValidator.EnsureArgumentNotNull(column, "column");
     return(new IndexColumn(this, column, ascending));
 }
Beispiel #5
0
 /// <summary>
 /// Visits data table column.
 /// </summary>
 /// <param name="dataTableColumn">The data table column.</param>
 /// <returns>Visit result.</returns>
 protected abstract TResult VisitDataTableColumn(DataTableColumn dataTableColumn);