public void Export(Property[] properties) { foreach (var property in properties) { var value = DeclaredValue.ExtractFor(property.Name); property.TrySetValue(value); } }
public void Export(Property[] properties) { foreach (var property in properties) { var value = DeclaredValue.ExtractFor(property.Name); if (property.TrySetValue(value)) { property.IsImportant = IsImportant; } } }