RegDiff Members
From tikumo.regis3
| RegDiff Members | regdiff Code Documentation |
The RegDiff type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| RegDiff |
The constructor creates two named registry keys and compares them
|
Methods
| Name | Description | |
|---|---|---|
| CreateDiffKeyEntry |
This function creates a new RegKeyEntry, that represents the diff information;
assuming that key 1 is the old information, and key 2 the new information
That means:
- if a key is missing in 1, it is to be added
- if a key is missing in 2, it is to be removed
- if a value is missing in 1, it is to be added
- if a value is missing in 2, it is to be removed
- if a value has changed, use the data from 2
| |
| CreateMergeKeyEntry |
This function creates a new RegKeyEntry, that represents the merge information;
assuming that key 1 is the old information, and key 2 the new information
That means:
- includes all information from key 2
- if a key is missing in 2, it is to be removed
- if a value is missing in 2, it is to be removed
- if a value has changed, use the data from 2
| |
| ToString |
Create a string description of this instance
(Overrides |
Fields
| Name | Description | |
|---|---|---|
| DataMismatches |
Data mismatches: a key/value exists in both files, but the respective data doesn't match
| |
| Key1 |
First key
| |
| Key2 |
Second key
| |
| KindMismatches |
Kind mismatches: a key/value exists in both files, but the kind doesn't match (for example, its a string in one file and an integer in the other)
| |
| MissingKeysIn1 |
Keys missing in 1 but present in 2
| |
| MissingKeysIn2 |
Keys missing in 2 but present in 1
| |
| MissingValuesIn1 |
Values missing in 1 but present in 2
| |
| MissingValuesIn2 |
Values missing in 2 but present in 1
| |
| Name1 |
Name of the first file / key / source
| |
| Name2 |
Name of the second file / key / source
|
See Also