Click or drag to resize

LoadCaseIdComparer Class

compares the names of two load-cases: numbers come first and are sorted in ascending numerical oder. Then come the other identifiers in alphanumeric order.
Inheritance Hierarchy
SystemObject
  Karamba.Loads.CombinationsLoadCaseIdComparer

Namespace:  Karamba.Loads.Combinations
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
[SerializableAttribute]
public class LoadCaseIdComparer : IComparer<string>

The LoadCaseIdComparer type exposes the following members.

Constructors
  NameDescription
Public methodLoadCaseIdComparer
Initializes a new instance of the LoadCaseIdComparer class
Top
Methods
  NameDescription
Public methodCompare
compares two strings. Orders them that identifiers which are equivalent to integers come first and are sorted numerically in ascending order. Then the other identifiers come in alphanumerically ascending order.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also