C# Class GSM, TelerikAcademy

Afficher le fichier Open project: nzhul/TelerikAcademy Class Usage Examples

Méthodes publiques

Свойство Type Description
battery Battery,
display Display,

Méthodes publiques

Méthode Description
AddCall ( DateTime startDateTime, DateTime endDateTime, string dialedNumber ) : void
ClearHistory ( ) : void
DeleteCall ( int callIndex ) : void
DeleteLongestCall ( ) : void
GSM ( string model, string manufacturer ) : System
GSM ( string model, string manufacturer, int price ) : System
GSM ( string model, string manufacturer, int price, string owner ) : System
GSM ( string model, string manufacturer, int price, string owner, Battery, battery, Display, display ) : System
ToString ( ) : string
TotalCallsCost ( double pricePerMin ) : double

Method Details

AddCall() public méthode

public AddCall ( DateTime startDateTime, DateTime endDateTime, string dialedNumber ) : void
startDateTime DateTime
endDateTime DateTime
dialedNumber string
Résultat void

ClearHistory() public méthode

public ClearHistory ( ) : void
Résultat void

DeleteCall() public méthode

public DeleteCall ( int callIndex ) : void
callIndex int
Résultat void

DeleteLongestCall() public méthode

public DeleteLongestCall ( ) : void
Résultat void

GSM() public méthode

public GSM ( string model, string manufacturer ) : System
model string
manufacturer string
Résultat System

GSM() public méthode

public GSM ( string model, string manufacturer, int price ) : System
model string
manufacturer string
price int
Résultat System

GSM() public méthode

public GSM ( string model, string manufacturer, int price, string owner ) : System
model string
manufacturer string
price int
owner string
Résultat System

GSM() public méthode

public GSM ( string model, string manufacturer, int price, string owner, Battery, battery, Display, display ) : System
model string
manufacturer string
price int
owner string
battery Battery,
display Display,
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

TotalCallsCost() public méthode

public TotalCallsCost ( double pricePerMin ) : double
pricePerMin double
Résultat double

Property Details

battery public_oe property

public Battery, battery
Résultat Battery,

display public_oe property

public Display, display
Résultat Display,