SwimLaneHasDecoratorsSerializer 类

DomainClass SwimLaneHasDecorators 的序列化程序 SwimLaneHasDecoratorsSerializer。

继承层次结构

System.Object
  Microsoft.VisualStudio.Modeling.DomainClassXmlSerializer
    Microsoft.VisualStudio.Modeling.DomainRelationshipXmlSerializer
      Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecoratorsSerializer
        Microsoft.VisualStudio.Modeling.DslDefinition.SwimLaneHasDecoratorsSerializer

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

语法

声明
Public NotInheritable Class SwimLaneHasDecoratorsSerializer _
    Inherits DiagramElementHasDecoratorsSerializer
public sealed class SwimLaneHasDecoratorsSerializer : DiagramElementHasDecoratorsSerializer

SwimLaneHasDecoratorsSerializer 类型公开以下成员。

构造函数

  名称 说明
公共方法 SwimLaneHasDecoratorsSerializer SwimLaneHasDecoratorsSerializer 构造函数

页首

属性

  名称 说明
公共属性 MonikerAttributeName 无法名称化。 (重写 DiagramElementHasDecoratorsSerializer.MonikerAttributeName。)
公共属性 MonikerTagName 无法名称化。 (重写 DiagramElementHasDecoratorsSerializer.MonikerTagName。)
公共属性 SerializesId 公开从此类派生的序列化程序是否序列化 ID。 (重写 DiagramElementHasDecoratorsSerializer.SerializesId。)
公共属性 UsesFullForm 公开从此类派生的序列化程序是否在其完整下序列化 ID。 (重写 DiagramElementHasDecoratorsSerializer.UsesFullForm。)
公共属性 XmlTagName 这是用于序列化 SwimLaneHasDecorators 的实例的 XML 标记名称。 (重写 DiagramElementHasDecoratorsSerializer.XmlTagName。)

页首

方法

  名称 说明
公共方法 CalculateQualifiedName 此方法计算给定的 SwimLaneHasDecorators 的实例的名字对象。 (重写 DiagramElementHasDecoratorsSerializer.CalculateQualifiedName(DomainXmlSerializerDirectory, ModelElement)。)
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetMonikerQualifier 以不同的方式对域类进行名称化:标准/限定符/密钥机制、自定义名字对象或元素 ID.如果使用标准/限定符/密钥机制序列化域类,则此方法将返回名字对象的限定符;如果域类使用名称化的其他方法,则此方法将返回空字符串。 (重写 DiagramElementHasDecoratorsSerializer.GetMonikerQualifier(DomainXmlSerializerDirectory, ModelElement)。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 MonikerizeReference 计算被给定对 ModelElement 的引用的名字对象。 (继承自 DomainRelationshipXmlSerializer。)
公共方法 Read Public Read() 方法,其可从 XML 反序列化 SwimLaneHasDecorators 实例。 (重写 DiagramElementHasDecoratorsSerializer.Read(SerializationContext, ModelElement, XmlReader)。)
公共方法 ReadRootElement 从 XML 中反序列化目录模型元素 (继承自 DomainClassXmlSerializer。)
公共方法 Reset 重置序列化程序 (继承自 DiagramElementHasDecoratorsSerializer。)
公共方法 SerializeReference 计算给定目标角色扮演者实例的名称化字符串的引用。 (继承自 DomainRelationshipXmlSerializer。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)
公共方法 TryCreateDerivedInstance 此方法基于读取器当前指向的标记创建 SwimLaneHasDecorators 的正确派生实例。注意此方法和上面方法的区别是此方法将不会自己创建 SwimLaneHasDecorators 类实例,只有派生类型已检查。 (重写 DiagramElementHasDecoratorsSerializer.TryCreateDerivedInstance(SerializationContext, XmlReader, Partition)。)
公共方法 TryCreateInstance 该方法基于读取器当前指向的标记创建 SwimLaneHasBaseSwimLane 的正确实例。如果读取器被置于一个序列化的 SwimLaneHasDecorators,则将在给定分区创建一个新的 SwimLaneHasDecorators 实例,否则返回 NULL 。 (重写 DiagramElementHasDecoratorsSerializer.TryCreateInstance(SerializationContext, XmlReader, Partition)。)
公共方法 TryCreateMonikerInstance 该方法基于读取器当前指向的标记创建 SwimLaneHasDecorators 的正确派生实例(包括 SwimLaneHasDecorators 自身)的名字对象。 (重写 DiagramElementHasDecoratorsSerializer.TryCreateMonikerInstance(SerializationContext, XmlReader, ModelElement, Guid, Partition)。)
公共方法 Write(SerializationContext, ModelElement, XmlWriter) 将此序列化程序实例关联的模型元素实例序列化到 XML。 (继承自 DomainClassXmlSerializer。)
公共方法 Write(SerializationContext, ModelElement, XmlWriter, RootElementSettings) Public Write() 方法,将一个 SwimLaneHasDecorators 实例序列化至 XML 中。 (重写 DiagramElementHasDecoratorsSerializer.Write(SerializationContext, ModelElement, XmlWriter, RootElementSettings)。)
公共方法 WriteMoniker Public WriteMoniker() 方法,将一个名字化 SwimLaneHasDecorators 实例写入 XML 中。 (重写 DiagramElementHasDecoratorsSerializer.WriteMoniker(SerializationContext, ModelElement, XmlWriter, ModelElement, DomainRelationshipXmlSerializer)。)
公共方法 WriteRootElement 将此序列化程序实例关联的根模型元素实例序列化到 XML。 (继承自 DomainClassXmlSerializer。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间