public void CalcInjectionPoints(CPClassLayout cpInjPoints, CP.Code.IModel model) { foreach (var lPnts in linePoints) { lPnts.CalcInjectionPoints(cpInjPoints, model); } }
public void CalcInjectionPoints(CPClassLayout cpInjPoints) { foreach (IFileChartPoints fPnts in filePoints) { fPnts.CalcInjectionPoints(cpInjPoints, cpCodeModel); } }
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); }
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); } } }
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)); }