DomainXmlSerializationBehavior Class
Represents all XML serialization behavior-generated classes.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.DomainXmlSerializationBehavior
Microsoft.VisualStudio.Modeling.CoreDomainModelSerializationBehavior
Microsoft.VisualStudio.Modeling.Diagrams.CoreDesignSurfaceSerializationBehaviorBase
Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelSerializationBehaviorBase
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Public MustInherit Class DomainXmlSerializationBehavior
public abstract class DomainXmlSerializationBehavior
public ref class DomainXmlSerializationBehavior abstract
[<AbstractClass>]
type DomainXmlSerializationBehavior = class end
public abstract class DomainXmlSerializationBehavior
The DomainXmlSerializationBehavior type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DomainXmlSerializationBehavior | Initializes a new instance of the DomainXmlSerializationBehavior class. |
Top
Properties
Name | Description | |
---|---|---|
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 | Gets the implementation types. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.