Exemplo n.º 1
0
        public ILineChartPoints AddLineChartPoints(int lineNum, int linePos)
        {
            ILineChartPoints lPnts = GetLineChartPoints(lineNum);

            if (lPnts == null)
            {
                CP.Code.IClassMethodElement classMethodElem = fileElem.GetMethodFromFilePos(lineNum, linePos);
                if (classMethodElem != null)
                {
                    lPnts = CP.Utils.IClassFactory.GetInstance().CreateLineCPs(classMethodElem, lineNum, linePos, data);
                    AddLineChartPoints(lPnts);
                }
                //else
                //;
            }

            return(lPnts);
        }
Exemplo n.º 2
0
 public LineChartPoints(CP.Code.IClassMethodElement _classMethodElem, int _lineNum, int _linePos, ICPFileData _fileData)
 {
     codeClassMethod = _classMethodElem;
     data            = CP.Utils.IClassFactory.GetInstance().CreateLineCPsData(new TextPosition(_lineNum, _linePos), _fileData);
 }