Skip to content

Commit 195bdbd

Browse files
committed
Merge branch 'master' into staging
2 parents e88ed40 + 41fc1f9 commit 195bdbd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/DBMDataRef/DBMDataRef.vb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,13 @@ Namespace Vitens.DynamicBandwidthMonitor
240240
Private Function ConfigurationIsValid As Boolean
241241

242242
' Check if this attribute is properly configured. The attribute and it's
243-
' parent (input source) need to be an instance of an object, and the data
244-
' type for both needs to be a double.
243+
' parent (input source) need to be an instance of an object, and the base
244+
' data type for both needs to be a value type.
245245

246246
Return Attribute IsNot Nothing AndAlso
247-
Attribute.Type Is GetType(Double) AndAlso
247+
Attribute.Type.BaseType Is GetType(ValueType) AndAlso
248248
Attribute.Parent IsNot Nothing AndAlso
249-
Attribute.Parent.Type Is GetType(Double)
249+
Attribute.Parent.Type.BaseType Is GetType(ValueType)
250250

251251
End Function
252252

0 commit comments

Comments
 (0)