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 |
---|---|---|
|
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(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 |
---|---|---|
|
Gets the IComparer.T. that is used to compare instances of type Alarm. | |
|
Gets the default Comparer.T. for type Value. | |
|
Gets the IComparer.T. that is used to compare instances of type Event. | |
|
Gets the IComparer.T. that is used to compare instances of type Message. | |
|
Gets the IComparer.T. 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. (Overrides Comparer.T..Compare(T, T).) | |
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Returns a string that represents the current object. (Inherited from Object.) |