Created
September 11, 2014 14:22
-
-
Save bondsbw/5cd97f818c0e64b9e90f to your computer and use it in GitHub Desktop.
ICar example fluent interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ICar | |
{ | |
public ICar UnlockDoor(Door door); | |
public ICar OpenDoor(Door door); | |
public ICar SitDown(Seat seat); | |
public ICar FastenSeatBelt(Seat seat); | |
public ICar PutIntoGear(Gear gear); | |
public ICar Drive(Acceleration acceleration); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment