C# Class Cilador.Graph.CilGraphGetter

Traverses a tree of CIL objects within a given root item collecting vertices and edges for a graph that represents CIL objects and object dependencies.
Mostrar archivo Open project: rileywhite/Cilador Class Usage Examples

Private Properties

Property Type Description
CollectVerticesAndFamilyEdgesFrom void
GetDependencyEdges IEnumerable

Public Methods

Method Description
CilGraphGetter ( ) : System

Creates a new CilGraphGetter.

Get ( ) : ICilGraph

Traverses a root item to get a graph of CIL objects and their dependencies.

Private Methods

Method Description
CollectVerticesAndFamilyEdgesFrom ( object item, HashSet vertices, HashSet parentChildEdges, HashSet siblingEdges ) : void

Collects an item and its children as graph vertices.

GetDependencyEdges ( HashSet vertices ) : IEnumerable

Gets edges by looking at dependencies for all vertices in a graph.

All vertices should be collected before this method is called.

Method Details

CilGraphGetter() public method

Creates a new CilGraphGetter.
public CilGraphGetter ( ) : System
return System

Get() public method

Traverses a root item to get a graph of CIL objects and their dependencies.
public Get ( ) : ICilGraph
return ICilGraph