This patch fixes the bug for double type of GetValue<T> method.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
return (T)Convert.ChangeType(value, typeof(T));
}
+ else if (typeof(double).IsAssignableFrom(typeof(T)))
+ {
+ ret = Interop.Pipeline.GetPropertyDouble(Handle, propertyName, out double value);
+ NNStreamer.CheckException(ret, string.Format("Failed to get {0} property.", propertyName));
+
+ return (T)Convert.ChangeType(value, typeof(T));
+ }
throw new ArgumentException("The Input data type is not valid.");
}