IResultExpander Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |