示例#1
0
        //TODO: may need to re-think for more efficient way
        public int GetTouchStateCount(TouchAction actionType)
        {
            int count = (from t in TouchStates
                         where t == actionType.ToTouchActions()
                         select t).Count();

            return count;
        }