small tweaks

This commit is contained in:
Jonathan Jenne
2021-11-18 15:33:28 +01:00
parent 0356699473
commit c1b6e2ed4d
23 changed files with 602 additions and 160 deletions

View File

@@ -375,15 +375,6 @@ Namespace Documents
End If
End Sub
Private Function TryGetDictionaryItem(Of T)(pDictionary As IDictionary(Of String, T), pKey As String) As T
If pDictionary.ContainsKey(pKey) Then
Return pDictionary.Item(pKey)
Else
Return Nothing
End If
End Function
Private Function WrapFileInfo(pFileInfo As FileInfo) As Document
Return New Document With {.File = pFileInfo}
End Function