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 |
|---|---|---|
|
|
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(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 |
|---|---|---|
|
|
Gets the IComparerT that is used to compare instances of type Alarm. | |
|
| ||
|
|
Gets the IComparerT that is used to compare instances of type Event. | |
|
|
Gets the IComparerT that is used to compare instances of type Message. | |
|
|
Gets the IComparerT that is used to compare instances of type String. |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Performs a comparison of two Values and returns a
value indicating whether one Value is less than,
equal to, or greater than the other. | |
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Returns a string that represents the current object. |
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0