Exemplo n.º 1
0
 /// <summary>
 /// Constructs new table handler
 /// </summary>
 /// <param name="configuration">Source table configurator</param>
 /// <param name="queryHandler">(optional) Query handler that will handle source data selecting</param>
 public PowerTablesHandler(Configurator <TSourceData, TTableData> configuration, IQueryHandler <TSourceData, TTableData> queryHandler = null)
 {
     _configuration = configuration;
     _queryHandler  = queryHandler ?? new DefaultQueryHandler <TSourceData, TTableData>();
     _queryHandler.SetConfigurator(_configuration);
 }