public static void UpdateFromObjectBoundsProxy(this IFeaturingObjectBounds target, IObjectBounds value) { if (value == null) throw new ArgumentNullException("value", "Cannot assign a NULL to object bounds."); // Assign copy of bounds of another record target.ObjectBounds = (ObjectBounds)((ObjectBoundsProxy)value).Record.ObjectBounds.CopyField(); }
public static void UpdateFromObjectBoundsProxy(this IFeaturingObjectBounds target, IObjectBounds value) { if (value == null) { throw new ArgumentNullException("value", "Cannot assign a NULL to object bounds."); } // Assign copy of bounds of another record target.ObjectBounds = (ObjectBounds)((ObjectBoundsProxy)value).Record.ObjectBounds.CopyField(); }