private PropertyInfo[] GetProperties() { return type.GetProperties(BindingFlags.Public | BindingFlags.Instance); }