This project is read-only.

validate method parameter

Topics: Gesture Recognition Engine
Jun 22, 2011 at 8:39 PM

Hi Shahed,

Would it be a problem if I changed the IPrimitiveConditionValidator method

 TouchData Validate(List<TouchPoint2> points); to
 TouchData Validate(ValidSetOfTouchPoints points);

Would there be any repercussions to doing so? If I could do this, it would solve many of my problems.

Jun 23, 2011 at 2:29 AM

Hi Maha,

It looks fine, technically ValidSetOfTouchPoints contains List<TouchPoint2> and should work. Please let me know how to refactoring goes.