private ComponentPresentationInfo AddToComponentPresentationList(ComponentPresentation componentPresentation) { ComponentPresentationInfo cpInfo = new ComponentPresentationInfo(this.page, componentPresentation, this); this.ComponentPresentations.Add(cpInfo); return cpInfo; }
public static int ExtractRegionIndex(ComponentPresentationInfo componentPresentation) { return ExtractRegionIndex(componentPresentation.ComponentPresentation.ComponentTemplate.Id); }