Пример #1
0
 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);
 }
Пример #2
0
 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();
 }