C# Class TeamOOP.Utilities.EmployeesContainer

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

Méthodes publiques

Méthode Description
Add ( Person employee ) : void
BestEmployee ( ) : Employee
ClearEmployeesList ( ) : void
FillWithDummyData ( ) : void
GetSortedBySalary ( ) : IEnumerable
ReadEmployeesFromFile ( string fileName ) : void
Remove ( int id ) : void
Remove ( string egn ) : void

Private Methods

Méthode Description
EmployeesContainer ( ) : PersonModule

Method Details

Add() public méthode

public Add ( Person employee ) : void
employee Person
Résultat void

BestEmployee() public méthode

public BestEmployee ( ) : Employee
Résultat PersonModule.Employee

ClearEmployeesList() public méthode

public ClearEmployeesList ( ) : void
Résultat void

FillWithDummyData() public méthode

public FillWithDummyData ( ) : void
Résultat void

GetSortedBySalary() public méthode

public GetSortedBySalary ( ) : IEnumerable
Résultat IEnumerable

ReadEmployeesFromFile() public méthode

public ReadEmployeesFromFile ( string fileName ) : void
fileName string
Résultat void

Remove() public méthode

public Remove ( int id ) : void
id int
Résultat void

Remove() public méthode

public Remove ( string egn ) : void
egn string
Résultat void