Share via


MetadataSerializationOptionsBuilderExtensions Class

Definition

A utility class that provides extension methods to the MetadataFormattingOptionsBuilder class.

public static class MetadataSerializationOptionsBuilderExtensions
type MetadataSerializationOptionsBuilderExtensions = class
Public Module MetadataSerializationOptionsBuilderExtensions
Inheritance
MetadataSerializationOptionsBuilderExtensions

Methods

GetExpressionTrimStyle(MetadataSerializationOptionsBuilder)

Gets the style in which whitespaces in lines in an expression block, are trimmed when serialized into TMDL text; default is TrimTrailingWhitespaces.

IsMetadataOrderHintsExcluded(MetadataSerializationOptionsBuilder)

Gets an indication if the serialized TMDL content should not include hints for the order of metadata elements; default is false, indicating to included in the generated TMDL.

WithExpressionTrimStyle(MetadataSerializationOptionsBuilder, TmdlExpressionTrimStyle)

Sets the style in which whitespaces in lines in an expression block, are trimmed when serialized into TMDL text.

WithMetadataOrderHints(MetadataSerializationOptionsBuilder)

Sets an indication that metadata-order hints should be included in the generated TMDL content.

WithoutMetadataOrderHints(MetadataSerializationOptionsBuilder)

Sets an indication that metadata-order hints should not be included in the generated TMDL content.

Applies to