File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments