private static void ApplyTableFormat( this Range range, TableFormat tableFormat) { if (tableFormat == null) { return; } var implementedProperties = new[] { nameof(TableFormat.CellsFormat), }; tableFormat.ThrowOnNotImplementedProperty(implementedProperties); range.ApplyCellFormat(tableFormat.CellsFormat); }