Interface ILanguage
An export language.
Namespace: Microsoft.Health.Fhir.SpecManager.Language
Assembly: Microsoft.Health.Fhir.SpecManager.dll
Syntax
public interface ILanguage
Properties
| Improve this Doc View SourceFhirPrimitiveTypeMap
Gets the FHIR primitive type map.
Declaration
Dictionary<string, string> FhirPrimitiveTypeMap { get; }
Property Value
Type | Description |
---|---|
Dictionary<System. |
LanguageName
Gets the name of the language.
Declaration
string LanguageName { get; }
Property Value
Type | Description |
---|---|
System. |
The name of the language. |
LanguageOptions
Gets language-specific options and their descriptions.
Declaration
Dictionary<string, string> LanguageOptions { get; }
Property Value
Type | Description |
---|---|
Dictionary<System. |
OptionalExportClassTypes
Gets a list of FHIR class types that the language CAN export, depending on user choices.
Declaration
List<ExporterOptions.FhirExportClassType> OptionalExportClassTypes { get; }
Property Value
Type | Description |
---|---|
List<Exporter |
RequiredExportClassTypes
Gets a list of FHIR class types that the language WILL export, regardless of user choices. Used to provide information to users.
Declaration
List<ExporterOptions.FhirExportClassType> RequiredExportClassTypes { get; }
Property Value
Type | Description |
---|---|
List<Exporter |
ReservedWords
Gets the reserved words.
Declaration
HashSet<string> ReservedWords { get; }
Property Value
Type | Description |
---|---|
Hash |
SingleFileExportExtension
Gets the single file extension for this language - null or empty indicates a multi-file export (exporter should copy the contents of the directory).
Declaration
string SingleFileExportExtension { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceExport(FhirVersionInfo, FhirCapabiltyStatement, ExporterOptions, String)
Gets the export.
Declaration
void Export(FhirVersionInfo info, FhirCapabiltyStatement serverInfo, ExporterOptions options, string exportDirectory)
Parameters
Type | Name | Description |
---|---|---|
Fhir |
info | The information. |
Fhir |
serverInfo | Information describing the server. |
Exporter |
options | Options for controlling the operation. |
System. |
exportDirectory | Directory to write files. |