Bagikan melalui


CoreDomainModelSerializationBehavior Class

A DomainXmlSerializationBehavior implementation for defined behavior CoreDomainModelSerializationBehavior.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Modeling.DomainXmlSerializationBehavior
    Microsoft.VisualStudio.Modeling.CoreDomainModelSerializationBehavior

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public NotInheritable Class CoreDomainModelSerializationBehavior _
    Inherits DomainXmlSerializationBehavior
public sealed class CoreDomainModelSerializationBehavior : DomainXmlSerializationBehavior
public ref class CoreDomainModelSerializationBehavior sealed : public DomainXmlSerializationBehavior
[<Sealed>]
type CoreDomainModelSerializationBehavior =  
    class 
        inherit DomainXmlSerializationBehavior 
    end
public final class CoreDomainModelSerializationBehavior extends DomainXmlSerializationBehavior

The CoreDomainModelSerializationBehavior type exposes the following members.

Properties

  Name Description
Public property AllNamespaces This provides a mapping from xml namespaces to domain model implementation types. Returns null for this class. (Overrides DomainXmlSerializationBehavior.AllNamespaces.)
Public property AllPropertySerializers This provides a mapping from property type to DomainPropertyXmlSerializerImplementation type to use for serialization. (Inherited from DomainXmlSerializationBehavior.)
Public property AllSerializers This provides a mapping from DomainClass Id to DomainXmlSerializer implementation types. (Overrides DomainXmlSerializationBehavior.AllSerializers.)
Public propertyStatic member Instance Singleton instance.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member DomainModelXmlNamespace The xml namespace used by this domain model when serializing

Top

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.

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace