C# Class Blade.Pipelines.ResolveRenderingDataSource.HandleSearch

Handles data sources that are defined using index search syntax TODO: when Update-2 comes out, supposedly the UIFilterHelpers.ParseDatasourceString will become generic. If that happens, this pipeline should be refactored to allow returning a strongly typed data source item in addition to the Item result so as to avoid having to pre-convert search results to Items.
Inheritance: ResolveRenderingDataSourcePipelineProcessor
Show file Open project: kamsar/Blade

Public Methods

Method Description
DoProcess ( ResolveRenderingDataSourceArgs args ) : void

Protected Methods

Method Description
CreateQuery ( IProviderSearchContext context, string query ) : IQueryable
FilterQuery ( IQueryable query ) : IQueryable
ProcessQueryResults ( IQueryable query ) : Item[]

Method Details

CreateQuery() protected method

protected CreateQuery ( IProviderSearchContext context, string query ) : IQueryable
context IProviderSearchContext
query string
return IQueryable

DoProcess() public method

public DoProcess ( ResolveRenderingDataSourceArgs args ) : void
args ResolveRenderingDataSourceArgs
return void

FilterQuery() protected method

protected FilterQuery ( IQueryable query ) : IQueryable
query IQueryable
return IQueryable

ProcessQueryResults() protected method

protected ProcessQueryResults ( IQueryable query ) : Item[]
query IQueryable
return Item[]