C# Class ShoppingPad.Common.Services.ShoppingService

Inheritance: IShoppingService
ファイルを表示 Open project: jj09/ShoppingPad Class Usage Examples

Public Methods

Method Description
AddItem ( Item item ) : void
AddToBoughtItems ( Item item ) : void
RemoveItem ( Item item ) : void
ShoppingService ( SQLite.SQLiteConnection sqliteConnection ) : System
TryAddItemToShoppingList ( Item item ) : void

Private Methods

Method Description
BoughtItems_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
Items_CollectionChanged ( object sender, System e ) : void

Method Details

AddItem() public method

public AddItem ( Item item ) : void
item Item
return void

AddToBoughtItems() public method

public AddToBoughtItems ( Item item ) : void
item Item
return void

RemoveItem() public method

public RemoveItem ( Item item ) : void
item Item
return void

ShoppingService() public method

public ShoppingService ( SQLite.SQLiteConnection sqliteConnection ) : System
sqliteConnection SQLite.SQLiteConnection
return System

TryAddItemToShoppingList() public method

public TryAddItemToShoppingList ( Item item ) : void
item Item
return void