CodeGraphNodeIdBuilder Class

 

The CodeGraphNodeIdBuilder allows us to inspect a GraphNodeId and retrieve the code elements (Namespace, Type etc.) out of it. This is not an expensive object to create, but to miminize GC pressure when building a lot of GraphNodeIds, you can reuse the same CodeGraphNodeIdBuilder by calling ReInitialize, rather than creating a new CodeGraphNodeIdBuilder. CodeGraphNodeIdBuilder is created lazily so that we don't need to e.g. build a child CodeGraphNodeIdBuilder to parse a generic argument when we're not going to look at the value of the generic argument.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.CodeSchema
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.CodeSchema (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.CodeSchema.dll)

System.Object
  Microsoft.VisualStudio.ArchitectureTools.Extensibility.CodeSchema.CodeGraphNodeIdBuilder

public class CodeGraphNodeIdBuilder

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: