public static IEnumerable <ContentPart> GetPages([NotNull] this ContentPackage source) { var count = source.PartCount; for (var index = 0; index < count; index++) { yield return(source.GetPart(index)); } }
public static IEnumerable <ContentPart> GetPages([NotNull] this ContentPackage source) { var count = source.PartCount; for (var index = 0; index < count; index++) { yield return(source.GetPart(index)); } }