C# Class RefactoringGolf.Store.Employee

Mostrar archivo Open project: snahider/Refactoring-Golf Class Usage Examples

Protected Properties

Property Type Description
subordinates IList

Public Methods

Method Description
AddSubordinate ( Employee subordinate ) : void
NetSalary ( ) : decimal
RemoveSubordinate ( Employee subordinate ) : void

Protected Methods

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

Private Methods

Method Description
PensionFounds ( ) : decimal
Tax ( ) : decimal

Method Details

AddSubordinate() public method

public AddSubordinate ( Employee subordinate ) : void
subordinate Employee
return void

Employee() protected method

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

Employee() protected method

protected Employee ( string firstName, string lastName, decimal fixedSalary ) : System.Collections.Generic
firstName string
lastName string
fixedSalary decimal
return System.Collections.Generic

NetSalary() public method

public NetSalary ( ) : decimal
return decimal

RemoveSubordinate() public method

public RemoveSubordinate ( Employee subordinate ) : void
subordinate Employee
return void

SalaryBenefits() protected abstract method

protected abstract SalaryBenefits ( ) : decimal
return decimal

Property Details

subordinates protected_oe property

protected IList subordinates
return IList