ModelBusReferencePropertySerializer Class
Custom DomainProperty serializer to serialize/deserializer ModelBusReferences
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.DomainPropertyXmlSerializer
Microsoft.VisualStudio.Modeling.Integration.ModelBusReferencePropertySerializer
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
'Déclaration
Public Class ModelBusReferencePropertySerializer _
Inherits DomainPropertyXmlSerializer
public class ModelBusReferencePropertySerializer : DomainPropertyXmlSerializer
public ref class ModelBusReferencePropertySerializer : public DomainPropertyXmlSerializer
type ModelBusReferencePropertySerializer =
class
inherit DomainPropertyXmlSerializer
end
public class ModelBusReferencePropertySerializer extends DomainPropertyXmlSerializer
The ModelBusReferencePropertySerializer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ModelBusReferencePropertySerializer |
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.) | |
GetString<T>(SerializationContext, T) | Converts the supplied object to a string format. (Inherited from DomainPropertyXmlSerializer.) | |
GetString<T>(SerializationContext, T) | Return the supplied model bus reference as a string (Overrides DomainPropertyXmlSerializer.GetString<T>(SerializationContext, T).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue<T> | Attempts to deserialize the suppling string to a model bus reference (Overrides DomainPropertyXmlSerializer.GetValue<T>(SerializationContext, String).) | |
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
Fields
Name | Description | |
---|---|---|
FilePathLoadContextKey | Key into the ReferenceContext set by the serializer when deserializing. | |
FilePathSaveContextKey | Key into the ReferenceContext set by the serialier when serializing. | |
ModelBusLoadContextKey | Key into the SerializationContext used by the serializer when (de)serializing. |
Top
Remarks
This class is dependant on the DSL runtime as it inherits from DomainPropertyXmlSerializer.
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.