Beispiel #1
0
 /// <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);
 }