public override object __hx_setField(string field, int hash, object @value, bool handleProperties) { unchecked { #line 3 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" switch (hash) { case 681824037: { #line 3 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" this.itemRepo = ((global::shoppingcart.ItemRepository)(@value)); #line 3 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" return(@value); } case 1976504946: { #line 3 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" this.cartRepo = ((global::shoppingcart.CartRepository)(@value)); #line 3 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" return(@value); } default: { #line 3 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" return(base.__hx_setField(field, hash, @value, handleProperties)); } } } #line default }
protected static void __hx_ctor_shoppingcart_ItemRepository(global::shoppingcart.ItemRepository __hx_this, global::maglev.MagLev bus) { #line 12 "/my-component/src/shoppingcart/ItemRepository.hx" __hx_this.bus = bus; __hx_this.items = new global::haxe.ds.StringMap <object>(); }
protected static void __hx_ctor_shoppingcart_ShoppingCartLogic(global::shoppingcart.ShoppingCartLogic __hx_this, global::shoppingcart.CartRepository cartRepo, global::shoppingcart.ItemRepository itemRepo) { #line 7 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" __hx_this.cartRepo = cartRepo; __hx_this.itemRepo = itemRepo; }
public ShoppingCartLogic(global::shoppingcart.CartRepository cartRepo, global::shoppingcart.ItemRepository itemRepo) { #line 6 "/my-component/src/shoppingcart/ShoppingCartLogic.hx" global::shoppingcart.ShoppingCartLogic.__hx_ctor_shoppingcart_ShoppingCartLogic(this, cartRepo, itemRepo); }