DomainRelationshipXmlSerializer Class
Represents the base class for all generated domain serializers for domain relationships.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.DomainClassXmlSerializer
Microsoft.VisualStudio.Modeling.DomainRelationshipXmlSerializer
More...
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
声明
Public MustInherit Class DomainRelationshipXmlSerializer _
Inherits DomainClassXmlSerializer
public abstract class DomainRelationshipXmlSerializer : DomainClassXmlSerializer
public ref class DomainRelationshipXmlSerializer abstract : public DomainClassXmlSerializer
[<AbstractClass>]
type DomainRelationshipXmlSerializer =
class
inherit DomainClassXmlSerializer
end
public abstract class DomainRelationshipXmlSerializer extends DomainClassXmlSerializer
The DomainRelationshipXmlSerializer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DomainRelationshipXmlSerializer | Constructor |
Top
Properties
Name | Description | |
---|---|---|
MonikerAttributeName | Gets the XML attribute name that contains the moniker string. (Inherited from DomainClassXmlSerializer.) | |
MonikerTagName | Gets the XML tag name. (Inherited from DomainClassXmlSerializer.) | |
SerializesId | Exposes whether serializers derived from this class are serializing Id. | |
UsesFullForm | Exposes whether serializers derived from this class are serializing this relationship in full form. | |
XmlTagName | Gets the XML tag name that will be used in serialization. (Inherited from DomainClassXmlSerializer.) |
Top
Methods
Name | Description | |
---|---|---|
CalculateQualifiedName | Calculates a reference to a handled model element instance. (Inherited from DomainClassXmlSerializer.) | |
CreateInstance | Creates a model element instance. (Inherited from DomainClassXmlSerializer.) | |
CreateMonikerInstance | Creates a moniker instance. (Inherited from DomainClassXmlSerializer.) | |
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.) | |
GetMonikerQualifier | Calculates the Qualifier for the moniker. (Inherited from DomainClassXmlSerializer.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MonikerizeReference | Calculates a Moniker, given a reference to a ModelElement. | |
Read | Deserializes a given model element instance from XML. (Inherited from DomainClassXmlSerializer.) | |
ReadAdditionalElementData | Read any additional element data that is associated with the element. (Inherited from DomainClassXmlSerializer.) | |
ReadElements | This methods deserializes nested XML elements inside the passed-in element. (Inherited from DomainClassXmlSerializer.) | |
ReadPropertiesFromAttributes | This method deserializes all properties that are serialized as XML attributes. (Inherited from DomainClassXmlSerializer.) | |
ReadRootElement | Deserializes the root model element from XML. (Inherited from DomainClassXmlSerializer.) | |
Reset | Returns the serializer to its initial state (Inherited from DomainClassXmlSerializer.) | |
SerializeReference | Calculates a monikerized string reference to the given target role-player instance. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryCreateDerivedInstance | With the given XmlReader, check if it is currently pointing to a serialized instance that derives from the ElementLink this serializer can handle. If so, create an instance of the derived ElementLink instance in the given Partition; otherwise return NULL.F1126 | |
TryCreateInstance | Checks if the given XmlReader is pointing to a serialized model element instance that this serializer can handle. (Inherited from DomainClassXmlSerializer.) | |
TryCreateMonikerInstance | Checks if the given XmlReader is pointing to a monikerized instance of a model element that this serializer can handle. (Inherited from DomainClassXmlSerializer.) | |
Write(SerializationContext, ModelElement, XmlWriter) | Serializes the model element instance associated with this serializer instance into XML. (Inherited from DomainClassXmlSerializer.) | |
Write(SerializationContext, ModelElement, XmlWriter, RootElementSettings) | Serializes the model element instance associated with this serializer instance into XML. (Inherited from DomainClassXmlSerializer.) | |
WriteAdditionalElementData | Write any additional element data associated with the element (Inherited from DomainClassXmlSerializer.) | |
WriteElements | This methods serializes 1) properties serialized as nested XML elements and 2) child model elements into XML. (Inherited from DomainClassXmlSerializer.) | |
WriteMoniker | Serializes, from a moniker, the model element instance that associated with this serializer instance into XML. (Inherited from DomainClassXmlSerializer.) | |
WritePropertiesAsAttributes | Write all properties that need to be serialized as XML attributes. (Inherited from DomainClassXmlSerializer.) | |
WriteRootElement | Serializes the root model element instance associated with this serializer instance into XML. (Inherited from DomainClassXmlSerializer.) |
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
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.DomainClassXmlSerializer
Microsoft.VisualStudio.Modeling.DomainRelationshipXmlSerializer
Microsoft.VisualStudio.Modeling.Diagrams.LinkConnectsToNodeSerializer
Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeContainsNestedChildShapesSerializer
Microsoft.VisualStudio.Modeling.Diagrams.ParentShapeHasRelativeChildShapesSerializer
Microsoft.VisualStudio.Modeling.Diagrams.PresentationViewsSubjectSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributesSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.AttributeHasParametersSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.BaseShapeMapReferencesBaseShapeSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClassSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasElementMergeDirectivesSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasPropertiesSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ClassIndexesElementMergeDirectiveSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasElementsDisplayedPathSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapHasPropertyDisplayedPathSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentMapsReferToCompartmentSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorMapReferencesConnectorSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorMapReferencesRelationshipSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorToolReferencesConnectionBuilderSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.CustomPropertyDescriptorSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DecoratorMapHasPropertyDisplayedPathSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DecoratorMapReferencesDecoratorSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DesignerHasDiagramSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecoratorsSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementMapHasDecoratorMapsSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasConnectorMapsSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DiagramHasShapeMapsSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClassSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassHasCustomTypeDescriptorSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProviderSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DomainRoleHasPropertyAttributesSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DomainRoleImplementedByCollectionTypeSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DslEditorIdentifiesRootClassSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasConnectionBuildersSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasDslLibraryImportsSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasReferenceTypesSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryHasTypesSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ElementMergeDirectiveHasForwardingPathSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ElementMergeDirectiveHasLinkCreationPathsSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasAttributesSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.EnumerationHasLiteralsSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerBehaviorHasNodeSettingsSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerHidesNodesSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerNodeSettingsHasPropertyDisplayedPathSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerNodeSettingsReferencesClassSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ExplorerReferencesBehaviorSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasSourceDirectivesSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveHasTargetDirectivesSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.LinkConnectDirectiveReferencesDomainRelationshipSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ObjectToolReferencesClassSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.PathHasSegmentsSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRoleSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasTypeSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.PropertyPathReferencesPropertySerializer
Microsoft.VisualStudio.Modeling.DslDefinition.RelationshipHasRolesSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.RoleHasRolePlayerSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirectiveAcceptsClassSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.RolePlayerConnectDirectiveHasPathToRolePlayerSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ShapeMapHasParentElementPathSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.ShapeMapReferencesClassSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.VisibilityPropertyPathHasPropertyFiltersSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.XmlClassDataAppliesToDomainClassSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.XmlClassDataHasXmlElementDataSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.XmlElementAppliesToDomainPropertySerializer
Microsoft.VisualStudio.Modeling.DslDefinition.XmlRelationshipDataAppliesToDomainRelationshipSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationBehaviorHasXmlClassDataSerializer
Microsoft.VisualStudio.Modeling.DslDefinition.XmlSerializationDefinitionReferencesBehaviorSerializer
Microsoft.VisualStudio.Modeling.ExtensionExtendsElementSerializer