Ejemplo n.º 1
0
        public Cake MakeCake(ICakeBuilder builder)
        {
            builder.WithFlour()
            .WithSecretIngredient();

            return(builder.Build());
        }
Ejemplo n.º 2
0
 public ChangedBinariesLister(IBinariesHelper binariesHelper, ICakeBuilder cakeBuilder, IFolderDeleter folderDeleter, IGitUtilities gitUtilities, INugetPackageRestorer nugetPackageRestorer)
 {
     BinariesHelper       = binariesHelper;
     CakeBuilder          = cakeBuilder;
     FolderDeleter        = folderDeleter;
     GitUtilities         = gitUtilities;
     NugetPackageRestorer = nugetPackageRestorer;
 }
Ejemplo n.º 3
0
 public HoneyDirector(ICakeBuilder builder)
 {
     this.builder = builder;
 }
Ejemplo n.º 4
0
 public ChocolateDirector(ICakeBuilder builder)
 {
     this.builder = builder;
 }