C# Class ParrotKata.Parrot

Datei anzeigen Open project: Pragmatists/Parrot-Refactoring-Kata Class Usage Examples

Private Properties

Property Type Description
GetBaseSpeed double
GetLoadFactor double

Public Methods

Method Description
GetSpeed ( ) : double
Parrot ( ParrotTypeEnum type, int numberOfCoconuts, double voltage, bool isNailed ) : System

Private Methods

Method Description
GetBaseSpeed ( double voltage ) : double
GetLoadFactor ( ) : double

Method Details

GetSpeed() public method

public GetSpeed ( ) : double
return double

Parrot() public method

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