| SubGraphViewTVertex, TEdge Class | 
Namespace: SD.Tools.Algorithmia.Graphs
public class SubGraphView<TVertex, TEdge> : IDisposable, INotifyAsRemoved where TEdge : class, Object, IEdge<TVertex>
The SubGraphViewTVertex, TEdge type exposes the following members.
| Name | Description | |
|---|---|---|
| SubGraphViewTVertex, TEdge(GraphBaseTVertex, TEdge) | 
            Initializes a new instance of the SubGraphViewTVertex, TEdge class.
              | |
| SubGraphViewTVertex, TEdge(GraphBaseTVertex, TEdge, Boolean) | 
            Initializes a new instance of the SubGraphViewTVertex, TEdge class.
              | 
| Name | Description | |
|---|---|---|
| Edges | 
            Gets the edges contained in this SubGraphView. All edges are part of this.MainGraph
              | |
| MainGraph | 
            Gets the main graph this SubGraphView is a view on
              | |
| Vertices | 
            Gets the vertices contained in this SubGraphView. All vertices are part of this.MainGraph
              | 
| Name | Description | |
|---|---|---|
| Add(TEdge) | 
            Adds the specified edge. If the vertices aren't in the view, they're added too.
              | |
| Add(TVertex) | 
            Adds the specified vertex.
              | |
| BindEvents | 
            Binds the event handlers to the events of the main graph.
              | |
| Contains(TEdge) | 
            Determines whether this SubGraphView contains the passed in edge.
              | |
| Contains(TVertex) | 
            Determines whether this SubGraphView contains the passed in vertex.
              | |
| Dispose | 
            Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
              | |
| 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 the default hash function.   (Inherited from Object.) | |
| GetType | Gets the Type of the current instance.  (Inherited from Object.) | |
| HandleEdgeAddedToMainGraph | 
            Handles the event that a new edge was added to the main graph
              | |
| HandleEdgeRemovedFromMainGraph | 
            Handles the event that an edge was removed from the main graph.
              | |
| HandleVertexAddedToMainGraph | 
            Handles the event that a new vertex was added to the main graph.
              | |
| HandleVertexRemovedFromMainGraph | 
            Handles the event that a vertex was removed from the main graph.
              | |
| MarkAsRemoved | 
            Marks this instance as removed. It raises ElementRemoved
              | |
| MemberwiseClone | Creates a shallow copy of the current Object.  (Inherited from Object.) | |
| OnDisposing | 
            Called when Disposing
              | |
| OnEdgeAdded | 
            Called when an edge has been added to this view
              | |
| OnEdgeRemoved | 
            Called when an edge has been removed from this view
              | |
| OnVertexAdded | 
            Called when a vertex has been added to this view
              | |
| OnVertexRemoved | 
            Called when a vertex has been removed from this view
              | |
| Remove(TEdge) | 
            Removes the edge.
              | |
| Remove(TVertex) | 
            Removes the vertex.
              | |
| ToString | Returns a string that represents the current object.  (Inherited from Object.) | |
| UnbindEvents | 
            Unbinds the event handlers from the events of the main graph.
              | 
| Name | Description | |
|---|---|---|
| Disposed | 
            Event which is raised when this instance was disposed.
              | |
| EdgeAdded | 
            Event which is raised when an edge has been added to this SubGraphView
              | |
| EdgeChanged | 
            If TEdge supports change notification, this event is raised when an edge in the subgraph view was changed
              | |
| EdgeRemoved | 
            Event which is raised when an edge has been removed from this SubGraphView
              | |
| HasBeenRemoved | 
            Raised when the implementing element has been removed from its container
              | |
| IsEmpty | 
            Event which is raised when the subgraphview is made empty. Observers can use this event to dispose an empty subgraphview to avoid dangling event handlers.
              | |
| VertexAdded | 
            Event which is raised when a vertex has been added to this SubGraphView
              | |
| VertexChanged | 
            If TVertex supports change notification, this event is raised when a vertex in the subgraph view was changed
              | |
| VertexRemoved | 
            Event which is raised when a vertex has been removed from this SubGraphView
              |