GraphPathSerializer Class

 

This class re-writes string values by using the path names in the given CommonPaths.

It provides a Serialize method that substitutes paths with a $(name) syntax where the name is the name of the path as registered in the CommonPaths. It also provides a Deserialize method that does the reverse. When all Serialization has completed, you can query the Used property to get a list of just the paths that were used by the Serialize or Deserialize methods.

Namespace:   Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

System::Object
  Microsoft.VisualStudio.GraphModel::GraphPathSerializer

public ref class GraphPathSerializer 

NameDescription
System_CAPS_pubmethodGraphPathSerializer(GraphPathSerializationDictionary^)

Constructs a new PathSerializer using the given CommonPaths collection.

NameDescription
System_CAPS_pubpropertyUsedPaths

Gets the list of paths that were used by the combined calls to Deserialize() or Serialize().

NameDescription
System_CAPS_pubmethodAdd(GraphPathSerializationDictionary^)

Adds all the paths in the given collection.

System_CAPS_pubmethodDeserialize(String^)

Deserializes the given path.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSerialize(String^)

Serializes the given text as a path does not attempt to substitute the content.

System_CAPS_pubmethodSerializeWithSubstitution(String^)

Serializes the given text with substitution of paths.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: