public string StartXML(SettingsKey key) { string result = null; string assemblyName = mParentType.Assembly.FullName; if (!string.IsNullOrEmpty(assemblyName)) { assemblyName = assemblyName.Split(',')[0]; } result += " <XML>"; result += Common.NewLine + " <FullClassName>" + mParentType.FullName + "," + assemblyName + "</FullClassName>"; result += Common.NewLine + " <FieldName>" + mFieldName + "</FieldName>"; if (key != null) { result += key.ToXMLString(); } return(result); }
public string StartXML(SettingsKey key) { string result = null; string assemblyName = mParentType.Assembly.FullName; if (!string.IsNullOrEmpty(assemblyName)) { assemblyName = assemblyName.Split(',')[0]; } result += " <XML>"; result += Common.NewLine + " <FullClassName>" + mParentType.FullName + "," + assemblyName + "</FullClassName>"; result += Common.NewLine + " <FieldName>" + mFieldName + "</FieldName>"; if (key != null) { result += key.ToXMLString(); } return result; }