Interfaces: Add FileTooBig Error, Add note about future refactoring of GetPropertyValue
This commit is contained in:
parent
f6acae9185
commit
9fe177abd3
@ -34,6 +34,7 @@ Public Class ZUGFeRDInterface
|
|||||||
NoValidZugferd
|
NoValidZugferd
|
||||||
MissingProperties
|
MissingProperties
|
||||||
UnsupportedFormat
|
UnsupportedFormat
|
||||||
|
FileTooBig
|
||||||
UnknownError
|
UnknownError
|
||||||
End Enum
|
End Enum
|
||||||
|
|
||||||
|
|||||||
@ -239,6 +239,12 @@ Public Class PropertyValues
|
|||||||
|
|
||||||
Obj = oInfo.GetValue(Obj, Nothing)
|
Obj = oInfo.GetValue(Obj, Nothing)
|
||||||
|
|
||||||
|
' TODO: This code should check for array properties by itself
|
||||||
|
' and should not rely on the user to
|
||||||
|
'If oInfo.PropertyType.IsArray Then
|
||||||
|
' Obj = Obj(0)
|
||||||
|
'End If
|
||||||
|
|
||||||
If oHasIndex Then
|
If oHasIndex Then
|
||||||
Obj = Obj(0)
|
Obj = Obj(0)
|
||||||
End If
|
End If
|
||||||
@ -264,6 +270,8 @@ Public Class PropertyValues
|
|||||||
|
|
||||||
Return oResults
|
Return oResults
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
Next
|
Next
|
||||||
|
|
||||||
Return New List(Of Object) From {Obj}
|
Return New List(Of Object) From {Obj}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user