public override string ToString() { if (m_filename != null) { return(Path.GetFileNameWithoutExtension(m_filename)); } if (GetDataSource() != null) { return(GetDataSource()); } return("(" + XmlTool.GetRegisterType(this) + ")"); }
public override void SaveToXml(XmlElement xml) { base.SaveToXml(xml); xml.SetAttribute("type", XmlTool.GetRegisterType(this)); }
public virtual string GetPersistString() { return(XmlTool.GetRegisterType(this)); }