C# Класс ArchiMetrics.Analysis.Model.ModelNode

Наследование: IModelNode
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddChild ( IModelNode child ) : void
Equals ( IModelNode other ) : bool

Indicates whether the current object is equal to another object of the same type.

Equals ( object obj ) : bool

Determines whether the specified T:System.Object is equal to the current T:System.Object.

Flatten ( ) : IEnumerable
GetHashCode ( ) : int

Serves as a hash function for a particular type.

ModelNode ( string name, string type, CodeQuality quality, int linesOfCode, double maintainabilityIndex, int cyclomaticComplexity ) : System.Collections.Generic
ModelNode ( string name, string type, CodeQuality quality, int linesOfCode, double maintainabilityIndex, int cyclomaticComplexity, IList vertices ) : System.Collections.Generic
RemoveChild ( IModelNode child ) : void
SetParent ( IModelNode parent ) : void
ToString ( ) : string

Returns a string that represents the current object.

operator ( ) : bool

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

Метод Описание
FlattenChildren ( IEnumerable vertices ) : IEnumerable
GetQualifiedName ( ) : string

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

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

public AddChild ( IModelNode child ) : void
child IModelNode
Результат void

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

Indicates whether the current object is equal to another object of the same type.
public Equals ( IModelNode other ) : bool
other IModelNode An object to compare with this object.
Результат bool

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

Determines whether the specified T:System.Object is equal to the current T:System.Object.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
Результат bool

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

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

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

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Результат int

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

public ModelNode ( string name, string type, CodeQuality quality, int linesOfCode, double maintainabilityIndex, int cyclomaticComplexity ) : System.Collections.Generic
name string
type string
quality CodeQuality
linesOfCode int
maintainabilityIndex double
cyclomaticComplexity int
Результат System.Collections.Generic

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

public ModelNode ( string name, string type, CodeQuality quality, int linesOfCode, double maintainabilityIndex, int cyclomaticComplexity, IList vertices ) : System.Collections.Generic
name string
type string
quality CodeQuality
linesOfCode int
maintainabilityIndex double
cyclomaticComplexity int
vertices IList
Результат System.Collections.Generic

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

public RemoveChild ( IModelNode child ) : void
child IModelNode
Результат void

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

public SetParent ( IModelNode parent ) : void
parent IModelNode
Результат void

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

Returns a string that represents the current object.
public ToString ( ) : string
Результат string

operator() публичный статический Метод

public static operator ( ) : bool
Результат bool