public DefaultConverter(Dictionary <string, string> hierarchy, ProductModel pm, string vtPackagePath) { _pm = pm; this.vtPackagePath = vtPackagePath; _parseUtils = new ParseUtils(hierarchy, pm); var productModelStructure = _pm.ProductModelStructure; _variableLookup = PMUtils.GetVariables(productModelStructure); scopeVariables = new List <IVariableDefinition> { new StringVariable(MODEL_VARIABLE), new StringVariable(COUNTRY_VARIABLE), new StringVariable(VARIANT_VARIABLE) }; }
public SalesValidityRuleConverter(DBReader dbReader, ProductModel model) { _dbReader = dbReader; _model = model; _variableLookup = PMUtils.GetVariables(_model.ProductModelStructure); }
public ParseUtils(Dictionary <string, string> hierarchy, ProductModel pm) { Hierarchy = hierarchy; _variableLookup = PMUtils.GetVariables(pm.ProductModelStructure); }
public HierarchyRelationConverter(DBReader dbReader, ProductModel model) { _model = model; _variableLookup = PMUtils.GetVariables(_model.ProductModelStructure); }