Skip to content

Instantly share code, notes, and snippets.

@bondsbw
Created September 11, 2014 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bondsbw/5cd97f818c0e64b9e90f to your computer and use it in GitHub Desktop.
Save bondsbw/5cd97f818c0e64b9e90f to your computer and use it in GitHub Desktop.
ICar example fluent interface
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