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