C# Класс Smrf.NodeXL.Core.VertexCollection

Represents a collection of vertices.
This is a collection of objects that implement the IVertex interface. You can add vertices to the collection, remove them, access a vertex, and enumerate all vertices.
Наследование: NodeXLBase, IVertexCollection
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_oLinkedList LinkedList
m_oParentGraph IGraph

Открытые методы

Метод Описание
Add ( ) : IVertex
Add ( IVertex vertex ) : void
AssertValid ( ) : void
Clear ( ) : void
Contains ( IVertex vertex ) : System.Boolean
Contains ( Int32 id ) : System.Boolean
Contains ( String name ) : System.Boolean
CopyTo ( IVertex array, Int32 index ) : void
Find ( Int32 id, IVertex &vertex ) : System.Boolean
Find ( String name, IVertex &vertex ) : System.Boolean
GetEnumerator ( ) : IEnumerator
GetReverseEnumerable ( ) : IEnumerable
Remove ( IVertex vertex ) : System.Boolean
Remove ( Int32 id ) : System.Boolean
Remove ( String name ) : System.Boolean
ToString ( ) : String
VertexCollection ( IGraph parentGraph ) : System

Initializes a new instance of the VertexCollection class.

Защищенные методы

Метод Описание
Find ( System.Boolean bByID, Int32 iID, String sName, LinkedListNode &oLinkedListNode ) : System.Boolean
Remove ( LinkedListNode oLinkedListNode ) : void

Приватные методы

Метод Описание
System ( ) : System.Collections.IEnumerator

Описание методов

Add() публичный Метод

public Add ( ) : IVertex
Результат IVertex

Add() публичный Метод

public Add ( IVertex vertex ) : void
vertex IVertex
Результат void

AssertValid() публичный Метод

public AssertValid ( ) : void
Результат void

Clear() публичный Метод

public Clear ( ) : void
Результат void

Contains() публичный Метод

public Contains ( IVertex vertex ) : System.Boolean
vertex IVertex
Результат System.Boolean

Contains() публичный Метод

public Contains ( Int32 id ) : System.Boolean
id System.Int32
Результат System.Boolean

Contains() публичный Метод

public Contains ( String name ) : System.Boolean
name String
Результат System.Boolean

CopyTo() публичный Метод

public CopyTo ( IVertex array, Int32 index ) : void
array IVertex
index System.Int32
Результат void

Find() защищенный Метод

protected Find ( System.Boolean bByID, Int32 iID, String sName, LinkedListNode &oLinkedListNode ) : System.Boolean
bByID System.Boolean
iID System.Int32
sName String
oLinkedListNode LinkedListNode
Результат System.Boolean

Find() публичный Метод

public Find ( Int32 id, IVertex &vertex ) : System.Boolean
id System.Int32
vertex IVertex
Результат System.Boolean

Find() публичный Метод

public Find ( String name, IVertex &vertex ) : System.Boolean
name String
vertex IVertex
Результат System.Boolean

GetEnumerator() публичный Метод

public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

GetReverseEnumerable() публичный Метод

public GetReverseEnumerable ( ) : IEnumerable
Результат IEnumerable

Remove() публичный Метод

public Remove ( IVertex vertex ) : System.Boolean
vertex IVertex
Результат System.Boolean

Remove() публичный Метод

public Remove ( Int32 id ) : System.Boolean
id System.Int32
Результат System.Boolean

Remove() публичный Метод

public Remove ( String name ) : System.Boolean
name String
Результат System.Boolean

Remove() защищенный Метод

protected Remove ( LinkedListNode oLinkedListNode ) : void
oLinkedListNode LinkedListNode
Результат void

ToString() публичный Метод

public ToString ( ) : String
Результат String

VertexCollection() публичный Метод

Initializes a new instance of the VertexCollection class.
public VertexCollection ( IGraph parentGraph ) : System
parentGraph IGraph /// The that owns this collection. ///
Результат System

Описание свойств

m_oLinkedList защищенное свойство

protected LinkedList m_oLinkedList
Результат LinkedList

m_oParentGraph защищенное свойство

protected IGraph m_oParentGraph
Результат IGraph