Table of Contents

Class PropertyOutputFormatterBase

Namespace
combit.Reporting.Dom
Assembly
combit.ListLabel31.CrossPlatform.dll

Base class for all output formatter definitions. Provides common infrastructure for formatter type handling, sample text, code generation and cloning. Concrete subclasses expose strongly typed settings for the respective formatting domain (date, time, numbers, currency, percentage, etc.).

[JsonDerivedType(typeof(PropertyOutputFormatterCurrency), "currency")]
[JsonDerivedType(typeof(PropertyOutputFormatterDate), "date")]
[JsonDerivedType(typeof(PropertyOutputFormatterDateTime), "datetime")]
[JsonDerivedType(typeof(PropertyOutputFormatterDateTimeDiff), "datetimediff")]
[JsonDerivedType(typeof(PropertyOutputFormatterDegree), "degree")]
[JsonDerivedType(typeof(PropertyOutputFormatterDouble), "double")]
[JsonDerivedType(typeof(PropertyOutputFormatterNone), "none")]
[JsonDerivedType(typeof(PropertyOutputFormatterPercentage), "percentage")]
[JsonDerivedType(typeof(PropertyOutputFormatterTime), "time")]
public class PropertyOutputFormatterBase : DomItem
Inheritance
PropertyOutputFormatterBase
Derived
Inherited Members

Methods

PropertyExists(string)

Determines if the given property exists on the concrete formatter type. Overrides base logic to avoid false positives from properties that are prefixed with the combit.Reporting.Dom.PropertyOutputFormatterBase.FormatterType.

public override bool PropertyExists(string propertyName)

Parameters

propertyName string

Property name to check.

Returns

bool

True if the property exists; otherwise false.