Share via


MetadataDeserializationOptionsBuilder Class

Definition

Provides the ability to build the set of options that are used during metadata deserialization.

public sealed class MetadataDeserializationOptionsBuilder
type MetadataDeserializationOptionsBuilder = class
Public NotInheritable Class MetadataDeserializationOptionsBuilder
Inheritance
MetadataDeserializationOptionsBuilder

Constructors

MetadataDeserializationOptionsBuilder(MetadataDeserializationOptions)

Creates an instance of the MetadataDeserializationOptionsBuilder class that is initialized by the specified options.

MetadataDeserializationOptionsBuilder(MetadataSerializationStyle)

Creates a new instance of MetadataDeserializationOptionsBuilder class based on the specified style.

Properties

Compatibility

Gets an optional compatibility options that should be used when deserializing the metadata.

RaiseErrorOnUnresolvedLinks

Gets an indication if errors are raised when unresolved links are detected in the deserialized metadata.

Methods

GetOptions()

Gets an instance of MetadataDeserializationOptions initialized with the serialization options that were chosen.

WithCompatibilityOptions(MetadataCompatibilityOptions)

Sets the compatibility options that should be used during the serialization.

WithErrorOnUnresolvedLinks()

Sets the indication that errors are raised when unresolved links are detected in the deserialized metadata.

WithoutCompatibilityOptions()

Resets the compatibility options that should be used during the serialization, and restore the default options.

WithoutErrorOnUnresolvedLinks()

Reset the indication errors are raised when unresolved links are detected in the deserialized metadata.

Applies to