Table of Contents

Property AggregateStringComparer

Namespace
DocWright.Reporting.Expressions
Assembly
DocWright.Reporting.dll

AggregateStringComparer

Gets the string comparison Min and Max use, or null for the default: the culture's comparison, ignoring case, accents, kana type and width.

public virtual IComparer<string>? AggregateStringComparer { get; }

Property Value

IComparer<string>

Remarks

Measured: Max over "a" and "B" is "B" in the reference, so aggregates do not compare the way the < operator does (which is ordinal). The reference takes the comparison from the dataset's collation and sensitivity flags, which is the processor's to supply here; the default is what a dataset that states none of them compares with (measured, Phase 54c: a, A, á and ä are one group). CountDistinct does not use it — distinct values are distinct ordinally.