C# 클래스 ParrotKata.Parrot

파일 보기 프로젝트 열기: Pragmatists/Parrot-Refactoring-Kata 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetBaseSpeed double
GetLoadFactor double

공개 메소드들

메소드 설명
GetSpeed ( ) : double
Parrot ( ParrotTypeEnum type, int numberOfCoconuts, double voltage, bool isNailed ) : System

비공개 메소드들

메소드 설명
GetBaseSpeed ( double voltage ) : double
GetLoadFactor ( ) : double

메소드 상세

GetSpeed() 공개 메소드

public GetSpeed ( ) : double
리턴 double

Parrot() 공개 메소드

public Parrot ( ParrotTypeEnum type, int numberOfCoconuts, double voltage, bool isNailed ) : System
type ParrotTypeEnum
numberOfCoconuts int
voltage double
isNailed bool
리턴 System