ValueComparer Class

Provides a Comparer.T. for type Value.

Inheritance Hierarchy

System.Object
  System.Collections.Generic.Comparer.Value.
    TcHmiSrv.Core.Tools.Queries.ValueComparer
Namespace:  TcHmiSrv.Core.Tools.Queries
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public class ValueComparer : Comparer<Value>

The ValueComparer type exposes the following members.

Constructors

 

Name

Description

ValueComparer Class 1:

ValueComparer.

Initializes a new instance of the ValueComparer class with Ordinal for instances of type String and Default for instances of type Event, Message and Alarm.

ValueComparer Class 2:

ValueComparer(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.

Properties

 

Name

Description

ValueComparer Class 3:

AlarmComparer

Gets the IComparer.T. that is used to compare instances of type Alarm.

ValueComparer Class 4:

ValueComparer Class 5:

Default

Gets the default Comparer.T. for type Value.

ValueComparer Class 6:

EventComparer

Gets the IComparer.T. that is used to compare instances of type Event.

ValueComparer Class 7:

MessageComparer

Gets the IComparer.T. that is used to compare instances of type Message.

ValueComparer Class 8:

StringComparer

Gets the IComparer.T. that is used to compare instances of type String.

Methods

 

Name

Description

ValueComparer Class 9:

Compare

Performs a comparison of two Values and returns a value indicating whether one Value is less than, equal to, or greater than the other. (Overrides Comparer.T..Compare(T, T).)

ValueComparer Class 10:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

ValueComparer Class 11:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

ValueComparer Class 12:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

ValueComparer Class 13:

GetType

Gets the Type of the current instance. (Inherited from Object.)

ValueComparer Class 14:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

ValueComparer Class 15:

ToString

Returns a string that represents the current object. (Inherited from Object.)

Reference

TcHmiSrv.Core.Tools.Queries Namespace