CompareObjects Class |
Namespace: DHI.Mike1D.Generic
public class CompareObjects
The CompareObjects type exposes the following members.
| Name | Description | |
|---|---|---|
| CompareObjects | Initializes a new instance of the CompareObjects class |
| Name | Description | |
|---|---|---|
| CompareChildren |
If true, child objects will be compared. The default is true.
If false, and a list or array is compared list items will be compared but not their children.
| |
| CompareFields |
If true, compare fields of a class (see also CompareProperties).
The default is true.
| |
| ComparePrivateFields |
If true, private fields will be compared. The default is false.
| |
| ComparePrivateProperties |
If true, private properties will be compared. The default is false.
| |
| CompareProperties |
If true, compare properties of a class (see also CompareFields).
The default is true.
| |
| CompareReadOnly |
If true, compare read only properties (only the getter is implemented).
The default is true.
| |
| Differences |
The differences found during the compare
| |
| DifferencesString |
The differences found in a string suitable for a textbox
| |
| ElementsToIgnore |
Ignore classes, properties, or fields by name during the comparison.
Case sensitive.
| |
| MaxCrump |
Longest crump string
| |
| MaxDifferences |
The maximum number of differences to detect
| |
| TypesToIgnore |
Ignore classes, properties, or fields by name during the comparison.
Case sensitive.
|
| Name | Description | |
|---|---|---|
| Compare |
Compare two objects of the same type to each other.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |