C# Class TeamOOP.Utilities.EmployeesContainer

Inheritance: IFunctions
Exibir arquivo Open project: nzhul/TelerikAcademy Class Usage Examples

Public Methods

Method 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

Method Description
EmployeesContainer ( ) : PersonModule

Method Details

Add() public method

public Add ( Person employee ) : void
employee Person
return void

BestEmployee() public method

public BestEmployee ( ) : Employee
return PersonModule.Employee

ClearEmployeesList() public method

public ClearEmployeesList ( ) : void
return void

FillWithDummyData() public method

public FillWithDummyData ( ) : void
return void

GetSortedBySalary() public method

public GetSortedBySalary ( ) : IEnumerable
return IEnumerable

ReadEmployeesFromFile() public method

public ReadEmployeesFromFile ( string fileName ) : void
fileName string
return void

Remove() public method

public Remove ( int id ) : void
id int
return void

Remove() public method

public Remove ( string egn ) : void
egn string
return void