Class SpecExporterWebService
A service for accessing specifier exporter webs information.
Inheritance
Namespace: FhirCodeGenBlazor.Services
Assembly: FhirCodeGenBlazor.dll
Syntax
public class SpecExporterWebService : IDisposable, ISpecExporterWebService
Constructors
| Improve this Doc View SourceSpecExporterWebService()
Initializes a new instance of the SpecExporterWebService class.
Declaration
public SpecExporterWebService()
Methods
| Improve this Doc View SourceDispose(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. |
GetExportLanguages()
Gets languages by name.
Declaration
public Dictionary<string, ILanguage> GetExportLanguages()
Returns
| Type | Description |
|---|---|
| Dictionary<System.String, ILanguage> | The languages by name. |
Init()
Initializes this object.
Declaration
public void Init()
RequestExport(FhirVersionInfo, Nullable<FhirCapabiltyStatement>, ILanguage, ExporterOptions, String)
Request export.
Declaration
public Task RequestExport(FhirVersionInfo info, FhirCapabiltyStatement? capStatementFilter, ILanguage exportLanguage, ExporterOptions options, string outputPath)
Parameters
| Type | Name | Description |
|---|---|---|
| FhirVersionInfo | info | The information. |
| System.Nullable<FhirCapabiltyStatement> | capStatementFilter | A capability statement used to filter export contents. |
| ILanguage | exportLanguage | The export language. |
| ExporterOptions | options | Options for controlling the operation. |
| System.String | outputPath | Full pathname of the output file. |
Returns
| Type | Description |
|---|---|
| Task | An asynchronous result. |
TryGetExportLanguage(String, out ILanguage)
Attempts to get export language an ILanguage? from the given string.
Declaration
public bool TryGetExportLanguage(string name, out ILanguage iLang)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name. |
| ILanguage | iLang | [out] Language interface or null. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if it succeeds, false if it fails. |