Пример #1
0
 public override void UseCombined(Product product, CombinedProductTemplate template)
 {
     if (template != null)
     {
         product.Details = template.Details;
     }
 }
Пример #2
0
        public void Construct(AbstractBuilder abstractBuilder, Product product, CombinedProductTemplate cpt = null, VirtualProductTemplate vpt = null)
        {
            abstractBuilder.UseCombined(product, cpt);

            abstractBuilder.UseVirtual(product, vpt);
        }
Пример #3
0
 public abstract void UseCombined(Product product, CombinedProductTemplate template);