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