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