mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-17 21:18:09 +08:00
29 lines
610 B
C#
29 lines
610 B
C#
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
|
|
{
|
|
Title = "Hello World from CSharp",
|
|
SubTitle = $"Query: {query.Search}",
|
|
IcoPath = "app.png"
|
|
};
|
|
return new List<Result> {result};
|
|
}
|
|
|
|
public void Init(PluginInitContext context)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|