The Builder Pattern in .NET: Listing 2

Listing 2: IBeerBuilder.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace VSMBuilderPatternDemo.Builder
{
    public interface IBeerBuilder
    {
        void Brew();
        void Ferment();
        void Bottle();
        void Age();
        Beer GetBeer();
    }
}

About the Author

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 vogelvision@gmail.com.