Class DiffResults
A difference results.
Inheritance
System.Object
DiffResults
Namespace: Microsoft.Health.Fhir.SpecManager.Manager
Assembly: Microsoft.Health.Fhir.SpecManager.dll
Syntax
public class DiffResults : object
Constructors
| Improve this Doc View SourceDiffResults()
Initializes a new instance of the Diff
Declaration
public DiffResults()
Properties
| Improve this Doc View SourceDiffsByKeyByArtifactClass
Gets the diffs by key by artifact class.
Declaration
public Dictionary<FhirArtifactClassEnum, Dictionary<string, List<DiffResults.DiffRecord>>> DiffsByKeyByArtifactClass { get; }
Property Value
Type | Description |
---|---|
Dictionary<Fhir |
Methods
| Improve this Doc View SourceAddDiff(FhirArtifactClassEnum, String, String, DiffResults.DiffTypeEnum, String, String)
Adds a difference.
Declaration
public bool AddDiff(FhirArtifactClassEnum artifactClass, string artifactKey, string path, DiffResults.DiffTypeEnum diffType, string valueA, string valueB)
Parameters
Type | Name | Description |
---|---|---|
Fhir |
artifactClass | The artifact class. |
System. |
artifactKey | The artifact key. |
System. |
path | Path to the difference (e.g., FHIR Element Path). |
Diff |
diffType | Type of the diff. |
System. |
valueA | The value a. |
System. |
valueB | The value b. |
Returns
Type | Description |
---|---|
System. |
True if it succeeds, false if it fails. |