C# 클래스 RefactoringGolf.Store.Employee

파일 보기 프로젝트 열기: snahider/Refactoring-Golf 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
subordinates IList

공개 메소드들

메소드 설명
AddSubordinate ( Employee subordinate ) : void
NetSalary ( ) : decimal
RemoveSubordinate ( Employee subordinate ) : void

보호된 메소드들

메소드 설명
Employee ( string firstName, string lastName, decimal fixedSalary )
Employee ( string firstName, string lastName, decimal fixedSalary ) : System.Collections.Generic
SalaryBenefits ( ) : decimal

비공개 메소드들

메소드 설명
PensionFounds ( ) : decimal
Tax ( ) : decimal

메소드 상세

AddSubordinate() 공개 메소드

public AddSubordinate ( Employee subordinate ) : void
subordinate Employee
리턴 void

Employee() 보호된 메소드

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

Employee() 보호된 메소드

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

NetSalary() 공개 메소드

public NetSalary ( ) : decimal
리턴 decimal

RemoveSubordinate() 공개 메소드

public RemoveSubordinate ( Employee subordinate ) : void
subordinate Employee
리턴 void

SalaryBenefits() 보호된 추상적인 메소드

protected abstract SalaryBenefits ( ) : decimal
리턴 decimal

프로퍼티 상세

subordinates 보호되어 있는 프로퍼티

protected IList subordinates
리턴 IList