Пример #1
0
        public void setProp(string aProperty, object aValue)
        {
            int featureIndex = aProperty.IndexOf('.');

            if ((featureIndex != -1))
            {
                string featurePath     = aProperty.Substring(0, featureIndex);
                string featureProperty = aProperty.Substring((featureIndex + 1));
                if ((featurePath == "ItemCombination"))
                {
                    ItemCombination.setProp(featureProperty, aValue);
                }
                if ((featurePath == "VariableBinding"))
                {
                    VariableBinding.setProp(featureProperty, aValue);
                }
            }
        }