public void Operate(IList <MotionObjectInfo> selectedInfoList, IList <ProcParam <MotionProcEnv> > args, MotionDataSet dataSet, ProgressInformation progressInfo) { NumberParameter begin = args[0] as NumberParameter; NumberParameter end = args[1] as NumberParameter; dataSet.RemoveFrameAll((f, i) => f.Time < begin.Value || end.Value < f.Time); }