protected override void RegisterClasses() { ClassMapper .If(() => ColumnSize.Class(ClassProvider), () => ColumnSize != null && UseColumnSizes); base.RegisterClasses(); }
protected override void BuildClasses(ClassBuilder builder) { if (ColumnSize != null && ColumnSizeSupported) { builder.Append(ColumnSize.Class(ClassProvider)); } base.BuildClasses(builder); }
protected override void RegisterClasses() { ClassMapper .Add(() => ClassProvider.Fields()) .If(() => ClassProvider.FieldsColumn(), () => ColumnSize != null) .If(() => ColumnSize.Class(ClassProvider), () => ColumnSize != null); base.RegisterClasses(); }
/// <inheritdoc/> protected override void BuildClasses(ClassBuilder builder) { builder.Append(ClassProvider.DescriptionListDefinition()); if (ColumnSize != null) { builder.Append(ColumnSize.Class(ClassProvider)); } base.BuildClasses(builder); }
protected override void BuildClasses(ClassBuilder builder) { builder.Append(ClassProvider.Fields()); if (ColumnSize != null) { builder.Append(ClassProvider.FieldsColumn()); builder.Append(ColumnSize.Class(ClassProvider)); } base.BuildClasses(builder); }