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. |
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 |
---|---|---|
Fhir |
info | The loaded FHIR package 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
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. |