public string GetCodeName() { string classType = _targetClass.GetCodeName(); string result = NameUtils.ToCodeName(XmlName, IsList); return((classType == result) ? NameUtils.ToCodeName(XmlName + "Prop", IsList) : result); }
public string GetCodeName() { return(NameUtils.ToCodeName(XmlName, false) + ((NameSuffix == 0) ? "" : NameSuffix.ToString(CultureInfo.InvariantCulture))); }