public void Deserialize(NetworkingStream stream) { foreach (PropertyInfo property in Properties) property.SetValue(this, ObjectMapper.Map(property.PropertyType, stream), null); } }