PowerToys/Plugins/HelloWorldCSharp/Main.cs

29 lines
610 B
C#
Raw Normal View History

2016-05-09 12:04:29 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wox.Plugin;
namespace HelloWorldCSharp
{
class Main : IPlugin
{
public List<Result> Query(Query query)
{
var result = new Result
{
2017-01-28 17:29:06 +08:00
Title = "Hello World from CSharp",
2016-05-09 12:04:29 +08:00
SubTitle = $"Query: {query.Search}",
IcoPath = "app.png"
};
return new List<Result> {result};
}
public void Init(PluginInitContext context)
{
}
}
}