From 31916384c1e269b6d018e5f25d9ff08c5f8ead48 Mon Sep 17 00:00:00 2001 From: Amir Tepper Date: Thu, 17 Oct 2019 13:11:23 +0300 Subject: [PATCH] update query defualt to string empty instead of null and update result plugin id to be internal --- Wox.Plugin/Query.cs | 2 +- Wox.Plugin/Result.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Wox.Plugin/Query.cs b/Wox.Plugin/Query.cs index 4289f0497d..07b640ab85 100644 --- a/Wox.Plugin/Query.cs +++ b/Wox.Plugin/Query.cs @@ -11,7 +11,7 @@ namespace Wox.Plugin /// /// to allow unit tests for plug ins /// - public Query(string rawQuery, string search, string[] terms, string actionKeyword = null) + public Query(string rawQuery, string search, string[] terms, string actionKeyword = "") { Search = search; RawQuery = rawQuery; diff --git a/Wox.Plugin/Result.cs b/Wox.Plugin/Result.cs index 88b8679f24..2f74591703 100644 --- a/Wox.Plugin/Result.cs +++ b/Wox.Plugin/Result.cs @@ -110,6 +110,6 @@ namespace Wox.Plugin /// /// Plugin ID that generate this result /// - public string PluginID { get; set; } + public string PluginID { get; internal set; } } } \ No newline at end of file