PowerToys/WinAlfred/Commands/BaseCommand.cs
2014-01-26 21:18:01 +08:00

19 lines
409 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WinAlfred.Plugin;
namespace WinAlfred.Commands
{
public abstract class BaseCommand
{
public abstract void Dispatch(Query query, bool updateView = true);
protected void UpdateResultView(List<Result> results)
{
App.Window.OnUpdateResultView(results);
}
}
}