Class PackageDiffWebService
A service for accessing package difference webs information.
Inheritance
Namespace: FhirCodeGenBlazor.Services
Assembly: FhirCodeGenBlazor.dll
Syntax
public class PackageDiffWebService : IDisposable, IPackageDiffWebService
Constructors
| Improve this Doc View SourcePackageDiffWebService()
Initializes a new instance of the PackageDiffWebService class.
Declaration
public PackageDiffWebService()
Methods
| Improve this Doc View SourceDiffHasCompleted(String, String, DiffResults)
Difference has completed.
Declaration
public void DiffHasCompleted(string packageKeyA, string packageKeyB, DiffResults results)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | packageKeyA | The package key a. |
| System.String | packageKeyB | The package key b. |
| DiffResults | results | The results. |
Dispose(Boolean)
Releases the unmanaged resources used by the FhirModelComparer.Server.Services.FhirManagerService and optionally releases the managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | True to release both managed and unmanaged resources; false to release only unmanaged resources. |
Init()
Initializes this object.
Declaration
public void Init()
RequestDiff(IPackageExportable, List<String>, IPackageExportable, List<String>, DifferOptions)
Request difference.
Declaration
public Task RequestDiff(IPackageExportable A, List<string> keysA, IPackageExportable B, List<string> keysB, DifferOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| IPackageExportable | A | An IPackageExportable to process. |
| List<System.String> | keysA | The keys of artifacts in package A to compare. |
| IPackageExportable | B | An IPackageExportable to process. |
| List<System.String> | keysB | The keys of artifacts in package B to compare. |
| DifferOptions | options | Options for controlling the operation. |
Returns
| Type | Description |
|---|---|
| Task | An asynchronous result. |
RequestDiff(IPackageExportable, IPackageExportable, DifferOptions)
Request difference.
Declaration
public Task RequestDiff(IPackageExportable A, IPackageExportable B, DifferOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| IPackageExportable | A | An IPackageExportable to process. |
| IPackageExportable | B | An IPackageExportable to process. |
| DifferOptions | options | Options for controlling the operation. |
Returns
| Type | Description |
|---|---|
| Task | An asynchronous result. |
RequestDiff(IPackageExportable, String, IPackageExportable, String, DifferOptions)
Request difference.
Declaration
public Task RequestDiff(IPackageExportable A, string keyA, IPackageExportable B, string keyB, DifferOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| IPackageExportable | A | An IPackageExportable to process. |
| System.String | keyA | The key of the artifact in package A to compare. |
| IPackageExportable | B | An IPackageExportable to process. |
| System.String | keyB | The key of the artifact in package B to compare. |
| DifferOptions | options | Options for controlling the operation. |
Returns
| Type | Description |
|---|---|
| Task | An asynchronous result. |
Events
| Improve this Doc View SourceOnDiffCompleted
Occurs when On Difference Completed.
Declaration
public event EventHandler<DiffCompletedEventArgs>? OnDiffCompleted
Event Type
| Type | Description |
|---|---|
| System.Nullable<EventHandler<DiffCompletedEventArgs>> |