C# Class PCCatalog.Computer

Datei anzeigen Open project: Y-LyN-10/Software-University-Courses Class Usage Examples

Public Methods

Method Description
AddComponent ( Component component ) : bool

Methods

Computer ( string name ) : System
Computer ( string name, List components ) : System

Constructors

GetDescription ( ) : string
ToString ( ) : string

Private Methods

Method Description
IComparable ( object obj ) : int

Method Details

AddComponent() public method

Methods
public AddComponent ( Component component ) : bool
component Component
return bool

Computer() public method

public Computer ( string name ) : System
name string
return System

Computer() public method

Constructors
public Computer ( string name, List components ) : System
name string
components List
return System

GetDescription() public method

public GetDescription ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string