Common: Rework of DocumentResultList WIP

This commit is contained in:
Jonathan Jenne
2022-01-18 13:27:20 +01:00
parent febd89a3c0
commit f5ec035772
24 changed files with 486 additions and 477 deletions

View File

@@ -342,14 +342,14 @@ Public Class frmMatch
Dim oNameSlug = Utils.ConvertTextToSlug(Profile.Name)
Dim oSearchGuids = Searches.Select(Function(s) s.Guid).ToArray
Dim oWindowGuid = $"{Profile.Guid}-{oNameSlug}-{String.Join("-", oSearchGuids)}"
Dim oParams = New DocumentResultParams() With {
Dim oParams = New DocumentResultList.Params() With {
.WindowGuid = oWindowGuid,
.WindowTitle = GetResultWindowString(_Params.ClipboardContents),
.OperationModeOverride = _Params.OperationModeOverride
}
For Each oSearch In Searches
oParams.Results.Add(New DocumentResult() With {
oParams.Results.Add(New DocumentResultList.DocumentResult() With {
.Title = oSearch.TabCaption,
.Datatable = oSearch.DataTable
})