MVVM refactoring for web search plugin, part 2

1. #486
2. rename
This commit is contained in:
bao-qian 2016-06-21 00:17:55 +01:00
parent 6e13440f1f
commit 91e9d7431a
7 changed files with 8 additions and 9 deletions

View file

@ -3,7 +3,6 @@ using System.Threading.Tasks;
namespace Wox.Plugin.WebSearch.SuggestionSources namespace Wox.Plugin.WebSearch.SuggestionSources
{ {
//todo rename file
public abstract class SuggestionSource public abstract class SuggestionSource
{ {
public abstract Task<List<string>> Suggestions(string query); public abstract Task<List<string>> Suggestions(string query);

View file

@ -63,14 +63,14 @@
<Compile Include="SettingsViewModel.cs" /> <Compile Include="SettingsViewModel.cs" />
<Compile Include="SuggestionSources\Baidu.cs" /> <Compile Include="SuggestionSources\Baidu.cs" />
<Compile Include="SuggestionSources\Google.cs" /> <Compile Include="SuggestionSources\Google.cs" />
<Compile Include="SuggestionSources\ISuggestionSource.cs" /> <Compile Include="SuggestionSources\SuggestionSource.cs" />
<Compile Include="WebSearch.cs" /> <Compile Include="SearchSource.cs" />
<Compile Include="WebSearchesSetting.xaml.cs"> <Compile Include="SettingsControl.xaml.cs">
<DependentUpon>WebSearchesSetting.xaml</DependentUpon> <DependentUpon>SettingsControl.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="Main.cs" /> <Compile Include="Main.cs" />
<Compile Include="WebSearchSetting.xaml.cs"> <Compile Include="SearchSourceSetting.xaml.cs">
<DependentUpon>WebSearchSetting.xaml</DependentUpon> <DependentUpon>SearchSourceSetting.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="Settings.cs" /> <Compile Include="Settings.cs" />
</ItemGroup> </ItemGroup>
@ -154,11 +154,11 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Page Include="WebSearchesSetting.xaml"> <Page Include="SettingsControl.xaml">
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</Page> </Page>
<Page Include="WebSearchSetting.xaml"> <Page Include="SearchSourceSetting.xaml">
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</Page> </Page>