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
Afficher le fichier Open project: kamsar/Blade

Méthodes publiques

Méthode Description
DoProcess ( ResolveRenderingDataSourceArgs args ) : void

Méthodes protégées

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

Method Details

CreateQuery() protected méthode

protected CreateQuery ( IProviderSearchContext context, string query ) : IQueryable
context IProviderSearchContext
query string
Résultat IQueryable

DoProcess() public méthode

public DoProcess ( ResolveRenderingDataSourceArgs args ) : void
args ResolveRenderingDataSourceArgs
Résultat void

FilterQuery() protected méthode

protected FilterQuery ( IQueryable query ) : IQueryable
query IQueryable
Résultat IQueryable

ProcessQueryResults() protected méthode

protected ProcessQueryResults ( IQueryable query ) : Item[]
query IQueryable
Résultat Item[]