private static void ApplySectionFormat( this Range range, SectionFormat sectionFormat) { if (sectionFormat == null) { return; } var implementedProperties = new[] { nameof(SectionFormat.Options), }; sectionFormat.ThrowOnNotImplementedProperty(implementedProperties); range.ApplySectionFormatOptions(sectionFormat.Options); }