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 Package
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. |
packageKeyA | The package key a. |
System. |
packageKeyB | The package key b. |
Diff |
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. |
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 |
---|---|---|
IPackage |
A | An IPackageExportable to process. |
List<System. |
keysA | The keys of artifacts in package A to compare. |
IPackage |
B | An IPackageExportable to process. |
List<System. |
keysB | The keys of artifacts in package B to compare. |
Differ |
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 |
---|---|---|
IPackage |
A | An IPackageExportable to process. |
IPackage |
B | An IPackageExportable to process. |
Differ |
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 |
---|---|---|
IPackage |
A | An IPackageExportable to process. |
System. |
keyA | The key of the artifact in package A to compare. |
IPackage |
B | An IPackageExportable to process. |
System. |
keyB | The key of the artifact in package B to compare. |
Differ |
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. |