Class MetadataContainerExtension
Provide extension behavior utilities for MetadataContainer classes
Inherited Members
Namespace: Core.Utilities
Syntax
public static class MetadataContainerExtension
Methods
ToFormattedString(MetadataContainer, Int32, Int32)
Format as prettified json a MetadataContainer and its children
Declaration
public static string ToFormattedString(this MetadataContainer metadataContainer, int indentation = 4, int level = 0)
Parameters
Type | Name | Description |
---|---|---|
MetadataContainer | metadataContainer | The metadata container root. |
Int32 | indentation | The amount of spaces for the indents. Default is 4. |
Int32 | level | The current level of the metadata container. Default is 0. |
Returns
Type | Description |
---|---|
String | The prettified json of the metadata container |