PowerToys/WinAlfred.Plugin/Result.cs
2014-01-03 23:52:36 +08:00

30 lines
1014 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
namespace WinAlfred.Plugin
{
public class Result
{
public string Title { get; set; }
public string SubTitle { get; set; }
public string IcoPath { get; set; }
public Action Action { get; set; }
public int Score { get; set; }
//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>
public List<Result> ContextResults { get; set; }
/// <summary>
/// you don't need to set this property if you are developing a plugin
/// </summary>
public string PluginDirectory { get; set; }
}
}