Show / Hide Table of Contents

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 Source

DiffResults()

Initializes a new instance of the DiffResults class.

Declaration
public DiffResults()

Properties

| Improve this Doc View Source

DiffsByKeyByArtifactClass

Gets the diffs by key by artifact class.

Declaration
public Dictionary<FhirArtifactClassEnum, Dictionary<string, List<DiffResults.DiffRecord>>> DiffsByKeyByArtifactClass { get; }
Property Value
Type Description
Dictionary<FhirArtifactClassEnum, Dictionary<System.String, List<Microsoft.Health.Fhir.SpecManager.Manager.DiffResults.DiffRecord>>>

Methods

| Improve this Doc View Source

AddDiff(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
FhirArtifactClassEnum artifactClass

The artifact class.

System.String artifactKey

The artifact key.

System.String path

Path to the difference (e.g., FHIR Element Path).

DiffResults.DiffTypeEnum diffType

Type of the diff.

System.String valueA

The value a.

System.String valueB

The value b.

Returns
Type Description
System.Boolean

True if it succeeds, false if it fails.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX