コード例 #1
0
 public void CalcInjectionPoints(CPClassLayout cpInjPoints, CP.Code.IModel model)
 {
     foreach (var lPnts in linePoints)
     {
         lPnts.CalcInjectionPoints(cpInjPoints, model);
     }
 }
コード例 #2
0
 public void CalcInjectionPoints(CPClassLayout cpInjPoints)
 {
     foreach (IFileChartPoints fPnts in filePoints)
     {
         fPnts.CalcInjectionPoints(cpInjPoints, cpCodeModel);
     }
 }
コード例 #3
0
        public CPClassLayout GetInjectionData(string projName)
        {
            IProjectChartPoints pPnts = Globals.processor.GetProjectChartPoints(projName);

            if (pPnts == null)
            {
                return(null);
            }
            CPClassLayout cpClassLayout = new CPClassLayout();

            pPnts.CalcInjectionPoints(cpClassLayout);

            return(cpClassLayout);
        }
コード例 #4
0
 public void CalcInjectionPoints(CPClassLayout cpInjPoints, CP.Code.IModel model)
 {
     foreach (IChartPoint cp in chartPoints)
     {
         bool needDeclare = false;
         if (cp.data.enabled)
         {
             IClassElement codeClass = codeClassMethod.GetClass();
             CPTraceVar    traceVar  = cp.CalcInjectionPoints(cpInjPoints, codeClass.name, out needDeclare);
             codeClass.CalcInjectionPoints(cpInjPoints, traceVar, needDeclare);
             model.CalcInjectionPoints(cpInjPoints, traceVar);
         }
     }
 }
コード例 #5
0
 public virtual CPTraceVar CalcInjectionPoints(CPClassLayout cpClassLayout, string className, out bool needDeclare)
 {
     return(codeElem.CalcInjectionPoints(cpClassLayout, className, data.lineData.fileData.fileName, data.lineData.pos, out needDeclare));
 }