Class CSharp2
A basic C# language - useful for testing, simple projects, and prototypes.
Inheritance
Implements
Namespace: Microsoft.Health.Fhir.SpecManager.Language
Assembly: Microsoft.Health.Fhir.SpecManager.dll
Syntax
public sealed class CSharp2 : object, ILanguage
Explicit Interface Implementations
| Improve this Doc View SourceILanguage.Export(FhirVersionInfo, FhirCapabiltyStatement, ExporterOptions, String)
Export the passed FHIR version into the specified directory.
Declaration
void ILanguage.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. |
ILanguage.FhirPrimitiveTypeMap
Gets the FHIR primitive type map.
Declaration
Dictionary<string, string> ILanguage.FhirPrimitiveTypeMap { get; }
Returns
Type | Description |
---|---|
Dictionary<System. |
The FHIR primitive type map. |
ILanguage.LanguageName
Gets the name of the language.
Declaration
string ILanguage.LanguageName { get; }
Returns
Type | Description |
---|---|
System. |
The name of the language. |
ILanguage.LanguageOptions
Gets language-specific options and their descriptions.
Declaration
Dictionary<string, string> ILanguage.LanguageOptions { get; }
Returns
Type | Description |
---|---|
Dictionary<System. |
ILanguage.OptionalExportClassTypes
Gets a list of FHIR class types that the language CAN export, depending on user choices.
Declaration
List<ExporterOptions.FhirExportClassType> ILanguage.OptionalExportClassTypes { get; }
Returns
Type | Description |
---|---|
List<Exporter |
ILanguage.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> ILanguage.RequiredExportClassTypes { get; }
Returns
Type | Description |
---|---|
List<Exporter |
ILanguage.ReservedWords
Gets the reserved words.
Declaration
HashSet<string> ILanguage.ReservedWords { get; }
Returns
Type | Description |
---|---|
Hash |
The reserved words. |
ILanguage.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 ILanguage.SingleFileExportExtension { get; }
Returns
Type | Description |
---|---|
System. |