public PortablePerson(int age, long height, string name, PortableAddress address) { this.age = age; this.height = height; this.name = name; this.address = address; }
/// <exception cref="System.IO.IOException" /> public virtual void ReadPortable(IPortableReader reader) { name = reader.ReadString("name"); address = reader.ReadPortable <PortableAddress>("address"); height = reader.ReadLong("height"); age = reader.ReadInt("age"); }
protected bool Equals(PortableAddress other) { return(no == other.no && string.Equals(street, other.street)); }