public TrackPropertyChangeScope(DictionaryAdapterBase adapter, PropertyDescriptor property, object existingValue) : this(adapter) { this.property = property; this.existingValue = existingValue; existingValue = adapter.GetProperty(property.PropertyName, true); // TODO: This looks unnecessary }
public TrackPropertyChangeScope(DictionaryAdapterBase adapter) { this.adapter = adapter; this.readOnlyProperties = adapter.This.Properties.Values .Where( pd => !pd.Property.CanWrite || pd.IsDynamicProperty ) .ToDictionary( pd => pd, pd => GetEffectivePropertyValue(pd) ); }
public NotificationSuppressionScope(DictionaryAdapterBase adapter) { this.adapter = adapter; this.adapter.SuppressNotifications(); }
public SuppressEditingScope(DictionaryAdapterBase adapter) { this.adapter = adapter; this.adapter.SuppressEditing(); }