The Builder Pattern in .NET: Listing 5
Listing 5: BrewMaster.cs
public class BrewMaster
public void SetBeerBuilder(IBeerBuilder beerBuilder)
_beerBuilder = beerBuilder;
public Beer GetBeer()
public void BrewBeer()
Eric Vogel is a Senior Software Developer for Red Cedar Solutions Group in Okemos, Michigan. He is the president of the Greater Lansing User Group for .NET. Eric enjoys learning about software architecture and craftsmanship, and is always looking for ways to create more robust and testable applications. Contact him at [email protected].