internal SCSlideLayout GetSlideLayoutBySlide(SCSlide slide) { SlideLayoutPart inputSlideLayoutPart = slide.SlidePart.SlideLayoutPart; return(CollectionItems.SelectMany(sm => sm.SlideLayouts) .First(sl => sl.SlideLayoutPart == inputSlideLayoutPart)); }