Click or drag to resize

CdssLibraryTranspilerTranspile Method

Transpiles the text format CDSS from inputStream into a CdssLibraryDefinition

Namespace: SanteDB.Cdss.Xml.Antlr
Assembly: SanteDB.Cdss.Xml (in SanteDB.Cdss.Xml.dll) Version: 3.0.2081-alpha+424e72aeb77d4a8ba5755272e5fc2a3206eaa2f1
Syntax
public static CdssLibraryDefinition Transpile(
	Stream inputStream,
	bool includeSourceMap,
	string sourceName = null
)

Parameters

inputStream  Stream
The input stream containing the plain text CDSS definition
includeSourceMap  Boolean
True if the output should include the source map
sourceName  String  (Optional)
The name of the source to place on the file

Return Value

CdssLibraryDefinition
The transpiled CDSS library
See Also