fix split bug in propertyvalues, remove obsolete functions

This commit is contained in:
Jonathan Jenne
2019-06-19 11:58:11 +02:00
parent 617315667c
commit 2c675b6181
2 changed files with 1 additions and 45 deletions

View File

@@ -60,7 +60,7 @@ Public Class PropertyValues
If IsArray(Obj) And Not oHasIndex Then
Dim oCurrentPart As String = oPart
Dim oSplitString As String() = New String() {"." & oCurrentPart & "."}
Dim oSplitString As String() = New String() {oCurrentPart & "."}
Dim oPathFragments = PropertyName.Split(oSplitString, StringSplitOptions.None)
Dim oResults As New List(Of Object)
@@ -72,10 +72,6 @@ Public Class PropertyValues
For Each oArrayItem In Obj
Dim oResult As List(Of Object) = GetPropValue(oArrayItem, oPathFragments(1))
'If Not IsNothing(oResult) AndAlso oResult.Count > 0 Then
' oResults.Add(oResult.Item(0))
'End If
If Not IsNothing(oResult) Then
oResults.Add(oResult)
End If