/// <summary> /// Initializes a new instance of the <see cref="SCSlide" /> class. /// </summary> internal SCSlide( SCPresentation parentPresentation, SlidePart slidePart, int slideNumber) { this.ParentPresentation = parentPresentation; this.SlidePart = slidePart; this.Number = slideNumber; this._shapes = new ResettableLazy <ShapeCollection>(() => ShapeCollection.CreateForSlide(this.SlidePart, this)); this.backgroundImage = new Lazy <SCImage>(this.TryGetBackground); this.customXmlPart = new Lazy <CustomXmlPart>(this.GetSldCustomXmlPart); }
internal SCSlideMaster(SCPresentation presentation, P.SlideMaster pSlideMaster) { Presentation = presentation; PSlideMaster = pSlideMaster; _sldLayouts = new ResettableLazy <List <SCSlideLayout> >(GetSlideLayouts); }