IProgram.cs
1 // Copyright (c) Microsoft Corporation 2 // The Microsoft Corporation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using System.Collections.Generic; 6 7 using Wox.Plugin; 8 9 namespace Microsoft.Plugin.Program.Programs 10 { 11 public interface IProgram 12 { 13 List<ContextMenuResult> ContextMenus(string queryArguments, IPublicAPI api); 14 15 Result Result(string query, string queryArguments, IPublicAPI api); 16 17 string UniqueIdentifier { get; set; } 18 19 string Name { get; } 20 21 string Description { get; set; } 22 23 string Location { get; } 24 25 bool Enabled { get; set; } 26 } 27 }