Compartir a través de


DomainXmlSerializationBehavior Class

Definition

This is the base class for all XmlSerializationBehavior-generated classes.

public ref class DomainXmlSerializationBehavior abstract
public abstract class DomainXmlSerializationBehavior
type DomainXmlSerializationBehavior = class
Public MustInherit Class DomainXmlSerializationBehavior
Inheritance
DomainXmlSerializationBehavior
Derived

Remarks

Each XmlSerializationBehaivor defines a set of behaviors of how to serialize the DomainClasses in the model to XML, which causes a set of serializers (all deriving from DomainXmlSerializer) to be generated. The main purpose of the DomainXmlSerializationBehavior class is to provide a mapping from DomainClass to its serializer at run-time.

Constructors

DomainXmlSerializationBehavior()

Properties

AllNamespaces

This provides a mapping from xml namespaces to domain model implementation types.

AllPropertySerializers

This provides a mapping from property type to DomainPropertyXmlSerializerImplementation type to use for serialization.

AllSerializers

This provides a mapping from DomainClass Id to DomainXmlSerializer implementation types.

Applies to