internal SCSlideMaster GetSlideMasterByLayout(SCSlideLayout slideLayout) { return(CollectionItems.First(sldMaster => sldMaster.SlideLayouts.Any(sl => sl.SlideLayoutPart == slideLayout.SlideLayoutPart))); }