ValueComparer Class

Provides a ComparerT for type Value.

Inheritance Hierarchy

SystemObject
  System.Collections.GenericComparerValue
    TcHmiSrv.Core.Tools.QueriesValueComparer

Namespace: TcHmiSrv.Core.Tools.Queries
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

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(IComparerString, IComparerEvent, IComparerMessage, IComparerAlarm)

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

Properties

 

Name

Description

ValueComparer Class 3:

AlarmComparer

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

ValueComparer Class 4:

ValueComparer Class 5:

Default

Gets the default ComparerT for type Value.

ValueComparer Class 6:

EventComparer

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

ValueComparer Class 7:

MessageComparer

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

ValueComparer Class 8:

StringComparer

Gets the IComparerT 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 ComparerTCompare(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)

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiSrv.Core.Tools.Queries Namespace

Copyright © Beckhoff Automation GmbH & Co. KG