public ParametrizedTemplate(TemplateInstanceType template, List <ITemplate> templateInstances, decimal poe = 100, decimal poi = 100) { TemplateDescription = template.GetTemplateDescription(); TemplateInstances = templateInstances; Poe = UtilMethods.CutIntoRange(poe, 1); Poi = UtilMethods.CutIntoRange(poi, 1); }
public ParametrizedTemplate(List <ITemplate> templateInstances, TemplateInstanceType templateType, decimal poe = 100, decimal poi = 100, bool checkVacuously = false) { TemplateInstances = templateInstances; Poe = UtilMethods.CutIntoRange(poe, 1); Poi = UtilMethods.CutIntoRange(poi, 1); CheckVacuously = checkVacuously; TemplateDescription = templateType.GetTemplateDescription(); }