public static ShoppingListItemUpdateAction Create(ShoppingListItem item) { var updater = new ShoppingListItemUpdater(item); var result = new ShoppingListItemUpdateAction(updater); return result; }
public ShoppingListUpdater UpdateItem(ShoppingListItem item, ShoppingListItemUpdater updater) { this.updateQueue.Add(updater); return this; }