public void AddProperty(string propertyName, string type) { ProtoProperty property = new ProtoProperty() { propertyName = propertyName, type = type }; this.m_properties.Add(property); }
private string GetProperties() { string result = ""; if (this.m_properties == null || this.m_properties.Count < 1) { return(result); } for (int i = 0; i < this.m_properties.Count; i++) { ProtoProperty property = this.m_properties[i]; result += property.ToString(i + 1); if (i < this.m_properties.Count - 1) { result += "\r\n"; } } return(result); }