C# Class ArchiMetrics.Analysis.Model.ModelNode

Inheritance: IModelNode
Datei anzeigen Open project: jjrdk/ArchiMetrics Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
FlattenChildren ( IEnumerable vertices ) : IEnumerable
GetQualifiedName ( ) : string

Method Details

AddChild() public method

public AddChild ( IModelNode child ) : void
child IModelNode
return void

Equals() public method

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.
return bool

Equals() public method

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.
return bool

Flatten() public method

public Flatten ( ) : IEnumerable
return IEnumerable

GetHashCode() public method

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
return int

ModelNode() public method

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
return System.Collections.Generic

ModelNode() public method

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
return System.Collections.Generic

RemoveChild() public method

public RemoveChild ( IModelNode child ) : void
child IModelNode
return void

SetParent() public method

public SetParent ( IModelNode parent ) : void
parent IModelNode
return void

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool