mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 03:59:15 +08:00
22 lines
505 B
C#
22 lines
505 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Wox.Plugin.WebSearch.SuggestionSources
|
|
{
|
|
public interface ISuggestionSource
|
|
{
|
|
List<string> GetSuggestions(string query);
|
|
}
|
|
|
|
public abstract class AbstractSuggestionSource : ISuggestionSource
|
|
{
|
|
public IHttpProxy Proxy { get; set; }
|
|
|
|
public AbstractSuggestionSource(IHttpProxy httpProxy)
|
|
{
|
|
Proxy = httpProxy;
|
|
}
|
|
|
|
public abstract List<string> GetSuggestions(string query);
|
|
}
|
|
}
|