void IRow.FieldAssignedValue(Field field) { if (!tracking) { return; } if (assignedFields == null) { assignedFields = new bool[fields.Count]; } assignedFields[field.index] = true; if (validationErrors != null) { RemoveValidationError(field.PropertyName ?? field.Name); } if (propertyChanged != null && previousValues != null && field.IndexCompare(previousValues, this) != 0) { RaisePropertyChanged(field); field.Copy(this, previousValues); } }
internal void FieldAssignedValue(Field field) { if (assignedFields == null) assignedFields = new bool[fields.Count]; assignedFields[field.index] = true; if (validationErrors != null) RemoveValidationError(field.PropertyName ?? field.Name); if (propertyChanged != null) { if (field.IndexCompare(previousValues, this) != 0) { RaisePropertyChanged(field); field.Copy(this, previousValues); } } }