Skip to content

Instantly share code, notes, and snippets.

@amirci
Created June 5, 2011 20:17
Show Gist options
  • Save amirci/1009368 to your computer and use it in GitHub Desktop.
Save amirci/1009368 to your computer and use it in GitHub Desktop.
DSL to populate presenters and sessions
return MakeSlots(
b => b.From(7).To(8).Event("Registration & Breakfast"),
b => b.From(8).To(8.15).Event("Welcome"),
b => b.From(8.15).To(9.15).Event("KeyNote"),
b => b.From(9.30).To(10.45)
.InRoom(LombardyA)
.Presenter("Tom Opgenorth").Session("Intro Into the Android Army"),
b => b.InRoom(LombardyB)
.Session("Limits of TDD: How To Test Code Never Meant To Be")
.Presenter("Robert Reppel"),
b => b.InRoom(TuscanyA)
.Session("SQL Server Backups and Recoverability")
.Presenter("Mike DeFehr"),
b => b.InRoom(TuscanyB)
.Session("ASP.NET MVC 101 - Intro to MVC")
.Presenter("James Chambers"),
b => b.InRoom(Trentino)
.Session("User Story Mapping - Rounding Out Your Backlog")
.Presenter("Steve Rogalsky"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment