Skip to content

Comparers

sam.gerene edited this page Dec 22, 2017 · 6 revisions

IComparer

The CDP4-SDK provides a set of Comparers that can be used to compare POCO objects. The Comparers implement the IComparer interface. These comparers are primarily used to determine the sort order in GUI applications such as the CDP4-IME. The following comparers are available:

Name Thing Comparison
DefinedThingComparer DefinedThing Comparison based on the Name property.
ElementDefinitionComparer ElementDefinition Comparison based on Name property.
ElementUsageComparer ElementUsage Comparison based on Name property.
OptionComparer Option Comparison based on the order of the Options in an Iteration.
ParameterBaseComparer ParameterBase Comparison based on Name property.
ParameterGroupComparer ParameterGroup Comparison based on Name property.
ParameterOverrideValueSetComparer ParameterOverrideValueSet Comparison based on the order of ActualState and Option.
ParameterSubscriptionValueSetComparer ParameterSubscriptionValueSet Comparison based on the order of ActualState.
ParameterValueSetComparer ParameterValueSet Comparison based on the order of the ActualState and Option.
ShortNameThingComparer ShortNameThing Comparison based on ShortName property.
Clone this wiki locally