protected SoodaObjectReflectionBasedFieldValues(SoodaObjectReflectionBasedFieldValues other) { _orderedFieldNames = other.GetFieldNames(); for (int i = 0; i < _orderedFieldNames.Length; ++i) { FieldInfo fi = GetField(i); fi.SetValue(this, fi.GetValue(other)); } }
protected SoodaObjectReflectionBasedFieldValues(SoodaObjectReflectionBasedFieldValues other) { _orderedFieldNames = other.GetFieldNames(); for (int i = 0; i < _orderedFieldNames.Length; ++i) { FieldInfo fi = GetField(i); fi.SetValue(this, fi.GetValue(other)); } }