Show / Hide Table of Contents

Class ExporterOptions

An exporter options.

Inheritance
System.Object
ExporterOptions
Namespace: Microsoft.Health.Fhir.SpecManager.Manager
Assembly: Microsoft.Health.Fhir.SpecManager.dll
Syntax
public class ExporterOptions : object

Constructors

| Improve this Doc View Source

ExporterOptions(String, IEnumerable<String>, List<ExporterOptions.FhirExportClassType>, ExporterOptions.ExtensionSupportLevel, IEnumerable<String>, IEnumerable<String>, Dictionary<String, String>, String, Boolean, Boolean, String)

Initializes a new instance of the ExporterOptions class.

Declaration
public ExporterOptions(string languageName, IEnumerable<string> exportList, List<ExporterOptions.FhirExportClassType> optionalClassesToExport, ExporterOptions.ExtensionSupportLevel extensionSupport, IEnumerable<string> extensionUrls, IEnumerable<string> extensionElementPaths, Dictionary<string, string> languageOptions, string fhirServerUrl, bool resolveExternal, bool includeExperimental, string languageInputDir)
Parameters
Type Name Description
System.String languageName

Name of the language.

IEnumerable<System.String> exportList

List of exports.

List<ExporterOptions.FhirExportClassType> optionalClassesToExport

Language optional class types to export (e.g., Enums).

ExporterOptions.ExtensionSupportLevel extensionSupport

The extension support.

IEnumerable<System.String> extensionUrls

Manually supported extension URLs that should be added.

IEnumerable<System.String> extensionElementPaths

Manually supported element paths that should have extensions.

Dictionary<System.String, System.String> languageOptions

Options for controlling the language.

System.String fhirServerUrl

FHIR Server URL to pull a CapabilityStatement (or Conformance) from. Requires application/fhir+json.

System.Boolean resolveExternal

Whether or not to try to resolve unknown canonicals at the given fhir server url.

System.Boolean includeExperimental

A value indicating whether structures marked experimental should be included.

System.String languageInputDir

The language input dir.

Properties

| Improve this Doc View Source

ExportList

Gets a list of exports.

Declaration
public IEnumerable<string> ExportList { get; }
Property Value
Type Description
IEnumerable<System.String>

A list of exports.

| Improve this Doc View Source

ExtensionElementPaths

Gets the extension element paths.

Declaration
public HashSet<string> ExtensionElementPaths { get; }
Property Value
Type Description
HashSet<System.String>

The extension element paths.

| Improve this Doc View Source

ExtensionSupport

Gets the extension support.

Declaration
public ExporterOptions.ExtensionSupportLevel ExtensionSupport { get; }
Property Value
Type Description
ExporterOptions.ExtensionSupportLevel

The extension support.

| Improve this Doc View Source

ExtensionUrls

Gets the extension urls.

Declaration
public HashSet<string> ExtensionUrls { get; }
Property Value
Type Description
HashSet<System.String>

The extension urls.

| Improve this Doc View Source

IncludeExperimental

Gets a value indicating whether structures marked experimental should be included.

Declaration
public bool IncludeExperimental { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LanguageInputDir

Gets the language input dir.

Declaration
public string LanguageInputDir { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

LanguageName

Gets the name of the language.

Declaration
public string LanguageName { get; }
Property Value
Type Description
System.String

The name of the language.

| Improve this Doc View Source

LanguageOptions

Gets options for controlling the language.

Declaration
public Dictionary<string, string> LanguageOptions { get; }
Property Value
Type Description
Dictionary<System.String, System.String>
| Improve this Doc View Source

OptionalClassTypesToExport

Gets the optional class types to export.

Declaration
public List<ExporterOptions.FhirExportClassType> OptionalClassTypesToExport { get; }
Property Value
Type Description
List<ExporterOptions.FhirExportClassType>
| Improve this Doc View Source

ResolveExternal

Whether or not to try to resolve unknown canonicals at the given fhir server url.

Declaration
public bool ResolveExternal { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ServerUrl

Gets URL of the FHIR server (if specified).

Declaration
public string ServerUrl { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SupportFiles

Gets the language input.

Declaration
public LanguageSupportFiles SupportFiles { get; }
Property Value
Type Description
LanguageSupportFiles

Methods

| Improve this Doc View Source

GetParam(String, Boolean)

Gets a language parameter.

Declaration
public bool GetParam(string field, bool valueDefault)
Parameters
Type Name Description
System.String field

The field.

System.Boolean valueDefault

The value default.

Returns
Type Description
System.Boolean

The language parameter.

| Improve this Doc View Source

GetParam(String, Int32)

Gets language parameter.

Declaration
public int GetParam(string field, int valueDefault)
Parameters
Type Name Description
System.String field

The field.

System.Int32 valueDefault

The value default.

Returns
Type Description
System.Int32

The language parameter.

| Improve this Doc View Source

GetParam(String, String)

Gets language parameter.

Declaration
public string GetParam(string field, string valueDefault)
Parameters
Type Name Description
System.String field

The field.

System.String valueDefault

The value default.

Returns
Type Description
System.String

The language parameter.

| Improve this Doc View Source

GetParamBoolN(String)

Gets parameter nullable.

Declaration
public bool? GetParamBoolN(string field)
Parameters
Type Name Description
System.String field

The field.

Returns
Type Description
System.Nullable<System.Boolean>

The parameter nullable.

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