throw new System.Exception("second argument string property is invalid parameter!");
}
+ PropertyType propertyType = target.GetPropertyType(_prop.propertyIndex);
+ if(propertyType.Equals(PropertyType.Float))
+ {
+ System.Type type = relativeValue.GetType();
+ if (type.Equals(typeof(System.Int32)) || type.Equals(typeof(int)))
+ {
+ int num = (int)relativeValue;
+ relativeValue = (float)num;
+ }
+ }
+
PropertyValue val = PropertyValue.CreateFromObject(relativeValue);
if (alphaFunction != null)
throw new System.Exception("second argument string property is invalid parameter!");
}
+ PropertyType propertyType = target.GetPropertyType(_prop.propertyIndex);
+ if(propertyType.Equals(PropertyType.Float))
+ {
+ System.Type type = relativeValue.GetType();
+ if (type.Equals(typeof(System.Int32)) || type.Equals(typeof(int)))
+ {
+ int num = (int)relativeValue;
+ relativeValue = (float)num;
+ }
+ }
+
PropertyValue val = PropertyValue.CreateFromObject(relativeValue);
if (alphaFunction != null)
throw new System.Exception("second argument string property is invalid parameter!");
}
+ PropertyType propertyType = target.GetPropertyType(_prop.propertyIndex);
+ if(propertyType.Equals(PropertyType.Float))
+ {
+ System.Type type = destinationValue.GetType();
+ if (type.Equals(typeof(System.Int32)) || type.Equals(typeof(int)))
+ {
+ int num = (int)destinationValue;
+ destinationValue = (float)num;
+ }
+ }
+
PropertyValue val = PropertyValue.CreateFromObject(destinationValue);
if (alphaFunction != null)
throw new System.Exception("second argument string property is invalid parameter!");
}
+ PropertyType propertyType = target.GetPropertyType(_prop.propertyIndex);
+ if(propertyType.Equals(PropertyType.Float))
+ {
+ System.Type type = destinationValue.GetType();
+ if (type.Equals(typeof(System.Int32)) || type.Equals(typeof(int)))
+ {
+ int num = (int)destinationValue;
+ destinationValue = (float)num;
+ }
+ }
+
PropertyValue val = PropertyValue.CreateFromObject(destinationValue);
if (alphaFunction != null)