Show / Hide Table of Contents

Class SpecExporterWebService

A service for accessing specifier exporter webs information.

Inheritance
System.Object
SpecExporterWebService
Implements
IHostedService
ISpecExporterWebService
Namespace: FhirCodeGenBlazor.Services
Assembly: FhirCodeGenBlazor.dll
Syntax
public class SpecExporterWebService : IDisposable, ISpecExporterWebService

Constructors

| Improve this Doc View Source

SpecExporterWebService()

Initializes a new instance of the SpecExporterWebService class.

Declaration
public SpecExporterWebService()

Methods

| Improve this Doc View Source

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.Boolean disposing

True to release both managed and unmanaged resources; false to release only unmanaged resources.

| Improve this Doc View Source

GetExportLanguages()

Gets languages by name.

Declaration
public Dictionary<string, ILanguage> GetExportLanguages()
Returns
Type Description
Dictionary<System.String, ILanguage>

The languages by name.

| Improve this Doc View Source

Init()

Initializes this object.

Declaration
public void Init()
| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

IHostedService
ISpecExporterWebService
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX