mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
28 lines
620 B
C#
28 lines
620 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Flow.Launcher.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)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|