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 Spec
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. |
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. |
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 |
---|---|---|
Fhir |
info | The information. |
System. |
capStatementFilter | A capability statement used to filter export contents. |
ILanguage | exportLanguage | The export language. |
Exporter |
options | Options for controlling the operation. |
System. |
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. |
name | The name. |
ILanguage | iLang | [out] Language interface or null. |
Returns
Type | Description |
---|---|
System. |
True if it succeeds, false if it fails. |