Interface ISpecExporterWebService
Interface for specifier exporter web service.
Namespace: FhirCodeGenBlazor.Services
Assembly: FhirCodeGenBlazor.dll
Syntax
public interface ISpecExporterWebService
Methods
| Improve this Doc View SourceGetExportLanguages()
Gets languages by name.
Declaration
Dictionary<string, ILanguage> GetExportLanguages()
Returns
| Type | Description |
|---|---|
| Dictionary<System.String, ILanguage> | The languages by name. |
Init()
Initializes this object.
Declaration
void Init()
RequestExport(FhirVersionInfo, Nullable<FhirCapabiltyStatement>, ILanguage, ExporterOptions, String)
Request export.
Declaration
Task RequestExport(FhirVersionInfo info, FhirCapabiltyStatement? capStatementFilter, ILanguage exportLanguage, ExporterOptions options, string outputPath)
Parameters
| Type | Name | Description |
|---|---|---|
| FhirVersionInfo | info | The loaded FHIR package 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
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. |