File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,31 @@ public override string ToString()
183183 return Title + SubTitle + Score ;
184184 }
185185
186+ /// <summary>
187+ /// Clones the current result
188+ /// </summary>
189+ public Result Clone ( )
190+ {
191+ return new Result
192+ {
193+ Title = Title ,
194+ SubTitle = SubTitle ,
195+ ActionKeywordAssigned = ActionKeywordAssigned ,
196+ CopyText = CopyText ,
197+ AutoCompleteText = AutoCompleteText ,
198+ IcoPath = IcoPath ,
199+ RoundedIcon = RoundedIcon ,
200+ Icon = Icon ,
201+ Glyph = Glyph ,
202+ Action = Action ,
203+ AsyncAction = AsyncAction ,
204+ Score = Score ,
205+ TitleHighlightData = TitleHighlightData ,
206+ OriginQuery = OriginQuery ,
207+ PluginDirectory = PluginDirectory
208+ } ;
209+ }
210+
186211 /// <summary>
187212 /// Additional data associated with this result
188213 /// </summary>
You can’t perform that action at this time.
0 commit comments