C# Class RefactoringGolf.Store.Employee

Afficher le fichier Open project: snahider/Refactoring-Golf Class Usage Examples

Protected Properties

Свойство Type Description
subordinates IList

Méthodes publiques

Méthode Description
AddSubordinate ( Employee subordinate ) : void
NetSalary ( ) : decimal
RemoveSubordinate ( Employee subordinate ) : void

Méthodes protégées

Méthode Description
Employee ( string firstName, string lastName, decimal fixedSalary )
Employee ( string firstName, string lastName, decimal fixedSalary ) : System.Collections.Generic
SalaryBenefits ( ) : decimal

Private Methods

Méthode Description
PensionFounds ( ) : decimal
Tax ( ) : decimal

Method Details

AddSubordinate() public méthode

public AddSubordinate ( Employee subordinate ) : void
subordinate Employee
Résultat void

Employee() protected méthode

protected Employee ( string firstName, string lastName, decimal fixedSalary )
firstName string
lastName string
fixedSalary decimal

Employee() protected méthode

protected Employee ( string firstName, string lastName, decimal fixedSalary ) : System.Collections.Generic
firstName string
lastName string
fixedSalary decimal
Résultat System.Collections.Generic

NetSalary() public méthode

public NetSalary ( ) : decimal
Résultat decimal

RemoveSubordinate() public méthode

public RemoveSubordinate ( Employee subordinate ) : void
subordinate Employee
Résultat void

SalaryBenefits() protected abstract méthode

protected abstract SalaryBenefits ( ) : decimal
Résultat decimal

Property Details

subordinates protected_oe property

protected IList subordinates
Résultat IList