PowerToys/WinAlfred.Plugin/Result.cs

30 lines
1014 B
C#
Raw Normal View History

2013-12-19 15:51:20 +00:00
using System;
2013-12-23 15:53:38 +00:00
using System.Collections;
2013-12-20 11:38:10 +00:00
using System.Collections.Generic;
2013-12-19 15:51:20 +00:00
namespace WinAlfred.Plugin
{
public class Result
{
public string Title { get; set; }
2013-12-20 11:38:10 +00:00
public string SubTitle { get; set; }
public string IcoPath { get; set; }
2013-12-19 15:51:20 +00:00
public Action Action { get; set; }
public int Score { get; set; }
2014-01-03 15:52:36 +00:00
//todo: this should be controlled by system, not visible to users
/// <summary>
/// Only resulsts that originQuery match with curren query will be displayed in the panel
/// </summary>
public Query OriginQuery { get; set; }
/// <summary>
/// context results connected with current reuslt, usually, it can use <- or -> navigate context results
/// </summary>
2013-12-20 11:38:10 +00:00
public List<Result> ContextResults { get; set; }
2013-12-22 11:35:21 +00:00
/// <summary>
/// you don't need to set this property if you are developing a plugin
/// </summary>
public string PluginDirectory { get; set; }
2013-12-19 15:51:20 +00:00
}
}