ValueComparer Constructor (IComparer.String., IComparer.Event., IComparer.Message., IComparer.Alarm.)

Initializes a new instance of the ValueComparer class with the specified IComparer.T.s that are used to compare instances of type String, Event, Message and Alarm.

Namespace:  TcHmiSrv.Core.Tools.Queries
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public ValueComparer(
    IComparer<string> stringComparer,
    IComparer<Event> eventComparer,
    IComparer<Message> messageComparer,
    IComparer<Alarm> alarmComparer
)

Parameters

stringComparer

Type: System.Collections.Generic.IComparer.String.
An IComparer.T. that is used to compare instances of type String.

eventComparer

Type: System.Collections.Generic.IComparer.Event.
An IComparer.T. that is used to compare instances of type Event.

messageComparer

Type: System.Collections.Generic.IComparer.Message.
An IComparer.T. that is used to compare instances of type Message.

alarmComparer

Type: System.Collections.Generic.IComparer.Alarm.
An IComparer.T. that is used to compare instances of type Alarm.

Reference

ValueComparer Class

ValueComparer Overload

TcHmiSrv.Core.Tools.Queries Namespace