private string SetDependenciesAndGetPropertyName(Enum property) { var name = GetObjectPropertyName(property); //Don't set inherited properties when we first initialize the property //(which should be being done in the constructur) if (GetCustomParameterIndex(name) != -1) { parser.AddDependents <ObjectProperty>(property); } return(name); }