Interface IRootable
Interface for additional methods on elements that are allowed at the root of a model file.
Namespace: DTDLParser
Assembly: DTDLParser.dll
Syntax
public interface IRootable
Methods
| Edit this page View SourceGetJsonLd()
Gets a JsonElement that holds the portion of the DTDL model that defines this rootable element.
Declaration
JsonElement GetJsonLd()
Returns
| Type | Description |
|---|---|
| JsonElement | A |
GetJsonLdText()
Gets a JSON string that holds the portion of the DTDL model that defines this rootable element.
Declaration
string GetJsonLdText()
Returns
| Type | Description |
|---|---|
| string | A string containing the JSON text. |