IResultExpander Interface

Definition

Provides a callback for objects that can improve search results.

public interface class IResultExpander
public interface class IResultExpander
__interface IResultExpander
public interface IResultExpander
type IResultExpander = interface
Public Interface IResultExpander

Remarks

This interface might be used by a provider who delays loading files for performance reasons. Their search results could be intentionally impaired, and this gives the user a gesture to override the lazy default behavior and force loads to get accurate results.

This is a MEF component part, and should be exported as: [Export(typeof(IResultExpander))]

Exporters must provide the attribute NameAttribute. Exporters may also specify OrderAttribute optionally.

Properties

CanExecute

Gets whether this expander can execute.

Methods

ExecuteAsync(CancellationToken)

This task is executed when the user explicitly requests expanded results.

Applies to