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.
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
| Name | Description | |
|---|---|---|
![]() | GraphPathSerializer(GraphPathSerializationDictionary^) | Constructs a new PathSerializer using the given CommonPaths collection. |
| Name | Description | |
|---|---|---|
![]() | UsedPaths | Gets the list of paths that were used by the combined calls to Deserialize() or Serialize(). |
| Name | Description | |
|---|---|---|
![]() | Add(GraphPathSerializationDictionary^) | Adds all the paths in the given collection. |
![]() | Deserialize(String^) | Deserializes the given path. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Serialize(String^) | Serializes the given text as a path does not attempt to substitute the content. |
![]() | SerializeWithSubstitution(String^) | Serializes the given text with substitution of paths. |
![]() | ToString() | (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.


