Beispiel #1
0
 public override TemplateGraphic GetTemplateGraphic(ProductLine line)
 {
     if (typeof(ProductLineJersey).IsInstanceOfType(line))
     {
         return(GetTemplateGraphicJersey((ProductLineJersey)line));
     }
     else
     {
         throw new ApplicationException("Product line type not implemented.");
     }
 }
Beispiel #2
0
 virtual public TemplateGraphic GetTemplateGraphic(ProductLine line)
 {
     throw new ApplicationException("Invalid call to base class method.");
 }