public override object __hx_invoke2_o(double __fn_float1, object __fn_dyn1, double __fn_float2, object __fn_dyn2)
        {
                        #line 55 "/my-component/src/persistence/MagLevConverter.hx"
            global::haxe.lang.Function callback = (((__fn_dyn2 == global::haxe.lang.Runtime.undefined)) ? (((global::haxe.lang.Function)(((object)(__fn_float2))))) : (((global::haxe.lang.Function)(__fn_dyn2))));
                        #line 55 "/my-component/src/persistence/MagLevConverter.hx"
            global::Array <object>     args = (((__fn_dyn1 == global::haxe.lang.Runtime.undefined)) ? (((global::Array <object>)(global::Array <object> .__hx_cast <object>(((global::Array)(((object)(__fn_float1)))))))) : (((global::Array <object>)(global::Array <object> .__hx_cast <object>(((global::Array)(__fn_dyn1)))))));
            global::maglev.MagLevArray arr  = global::maglev.MagLevArray.create();
                        #line 57 "/my-component/src/persistence/MagLevConverter.hx"
            {
                                #line 57 "/my-component/src/persistence/MagLevConverter.hx"
                int _g = 0;
                                #line 57 "/my-component/src/persistence/MagLevConverter.hx"
                while ((_g < args.length))
                {
                                        #line 57 "/my-component/src/persistence/MagLevConverter.hx"
                    object arg = args[_g];
                                        #line 57 "/my-component/src/persistence/MagLevConverter.hx"
                    ++_g;
                    arr.push(global::persistence.MagLevConverter.convertToMagLev(arg));
                }
            }

                        #line 60 "/my-component/src/persistence/MagLevConverter.hx"
            global::maglev.MagLevResult ret = this.y5.call(arr);
            ret.onError(new global::persistence.MagLevConverter_convertToHaxe_61__Fun(ret));
                        #line 64 "/my-component/src/persistence/MagLevConverter.hx"
            ret.onResult(new global::persistence.MagLevConverter_convertToHaxe_64__Fun(callback));
                        #line 55 "/my-component/src/persistence/MagLevConverter.hx"
            return(null);
        }
Exemple #2
0
 public AuctionRepository_FindById_47__Fun(global::maglev.MagLevResult res, global::haxe.lang.Function callback) : base(1, 0)
 {
                 #line 47 "/my-component/src/englishauction/AuctionRepository.hx"
     this.res = res;
                 #line 47 "/my-component/src/englishauction/AuctionRepository.hx"
     this.callback = callback;
 }
Exemple #3
0
 public override object __hx_invoke1_o(double __fn_float1, object __fn_dyn1)
 {
     unchecked {
                         #line 43 "/my-component/src/financecalculator/FinanceCalculator.hx"
         global::maglev.MagLevArray args = (((__fn_dyn1 == global::haxe.lang.Runtime.undefined)) ? (((global::maglev.MagLevArray)(((object)(__fn_float1))))) : (((global::maglev.MagLevArray)(__fn_dyn1))));
         double presentValue             = (((global::maglev.MagLevNumber)(args.@get(0)))).getFloat();
                         #line 45 "/my-component/src/financecalculator/FinanceCalculator.hx"
         int    numPeriods   = (((global::maglev.MagLevNumber)(args.@get(1)))).getInt();
         double interestRate = (((global::maglev.MagLevNumber)(args.@get(2)))).getFloat();
                         #line 47 "/my-component/src/financecalculator/FinanceCalculator.hx"
         int    timesCompoundedPerPeriod = (((global::maglev.MagLevNumber)(args.@get(3)))).getInt();
         double depositAmount            = (((global::maglev.MagLevNumber)(args.@get(4)))).getFloat();
                         #line 49 "/my-component/src/financecalculator/FinanceCalculator.hx"
         bool   depositAtBeginning = (((global::maglev.MagLevBoolean)(args.@get(5)))).getBool();
         object ret = this._gthis.calc.futureValue(presentValue, numPeriods, interestRate, timesCompoundedPerPeriod, depositAmount, depositAtBeginning);
                         #line 51 "/my-component/src/financecalculator/FinanceCalculator.hx"
         global::maglev.MagLevObject resobj = global::maglev.MagLevObject.create();
         resobj.@set("futureValue", global::maglev.MagLevNumber.fromFloat(global::haxe.lang.Runtime.getField_f(ret, "futureValue", 530154542, true)));
                         #line 53 "/my-component/src/financecalculator/FinanceCalculator.hx"
         resobj.@set("totalInterest", global::maglev.MagLevNumber.fromFloat(global::haxe.lang.Runtime.getField_f(ret, "totalInterest", 1580406414, true)));
         global::maglev.MagLevResult result = global::maglev.MagLevResult.fromResult(resobj);
                         #line 55 "/my-component/src/financecalculator/FinanceCalculator.hx"
         return(result);
     }
                 #line default
 }
        public virtual void call(string method, global::Array <object> args, global::haxe.lang.Function callback)
        {
                        #line 67 "/my-component/src/maglev/MagLevCs.hx"
            global::maglev.MagLevCs    _gthis = this;
            global::maglev.MagLevArray myargs = new global::maglev.MagLevArray();
                        #line 69 "/my-component/src/maglev/MagLevCs.hx"
            {
                                #line 69 "/my-component/src/maglev/MagLevCs.hx"
                int _g = 0;
                                #line 69 "/my-component/src/maglev/MagLevCs.hx"
                while ((_g < args.length))
                {
                                        #line 69 "/my-component/src/maglev/MagLevCs.hx"
                    object arg = args[_g];
                                        #line 69 "/my-component/src/maglev/MagLevCs.hx"
                    ++_g;
                    myargs.push(this.convertToMagLev(arg));
                }
            }

                        #line 72 "/my-component/src/maglev/MagLevCs.hx"
            global::maglev.MagLevResult myresult = this.maglev.call(method, myargs);
            myresult.onError((((global::maglev.MagLevCs_call_73__Fun.__hx_current != null)) ? (global::maglev.MagLevCs_call_73__Fun.__hx_current) : (global::maglev.MagLevCs_call_73__Fun.__hx_current = ((global::maglev.MagLevCs_call_73__Fun)(new global::maglev.MagLevCs_call_73__Fun())))));
                        #line 76 "/my-component/src/maglev/MagLevCs.hx"
            myresult.onResult(new global::maglev.MagLevCs_call_76__Fun(callback, _gthis));
        }
Exemple #5
0
 public AuctionRepository_FindOpenAuctions_142__Fun(global::maglev.MagLevResult res, global::haxe.lang.Function callback, global::Array <object> auctions) : base(1, 0)
 {
                 #line 142 "/my-component/src/englishauction/AuctionRepository.hx"
     this.res = res;
                 #line 142 "/my-component/src/englishauction/AuctionRepository.hx"
     this.callback = callback;
                 #line 142 "/my-component/src/englishauction/AuctionRepository.hx"
     this.auctions = auctions;
 }
Exemple #6
0
 public override object __hx_invoke1_o(double __fn_float1, object __fn_dyn1)
 {
                 #line 98 "/my-component/src/shoppingcart/ShoppingCart.hx"
     global::maglev.MagLevArray  args   = (((__fn_dyn1 == global::haxe.lang.Runtime.undefined)) ? (((global::maglev.MagLevArray)(((object)(__fn_float1))))) : (((global::maglev.MagLevArray)(__fn_dyn1))));
     global::maglev.MagLevResult result = global::maglev.MagLevResult.createAsync();
                 #line 100 "/my-component/src/shoppingcart/ShoppingCart.hx"
     string cartId = (((global::maglev.MagLevString)(args.@get(0)))).getString();
     this._gthis.logic.Clear(cartId, new global::shoppingcart.ShoppingCart_registerMyMethods_101__Fun(result));
                 #line 104 "/my-component/src/shoppingcart/ShoppingCart.hx"
     return(result);
 }
Exemple #7
0
 public virtual void FindById(string auctionId, global::haxe.lang.Function callback)
 {
                 #line 41 "/my-component/src/englishauction/AuctionRepository.hx"
     global::maglev.MagLevArray args = global::maglev.MagLevArray.create();
     args.push(global::maglev.MagLevString.fromString(auctionId));
                 #line 43 "/my-component/src/englishauction/AuctionRepository.hx"
     global::maglev.MagLevResult res = this.bus.call("Persistence.EnglishAuction.Auction.FindById", args);
     res.onError((((global::englishauction.AuctionRepository_FindById_44__Fun.__hx_current != null)) ? (global::englishauction.AuctionRepository_FindById_44__Fun.__hx_current) : (global::englishauction.AuctionRepository_FindById_44__Fun.__hx_current = ((global::englishauction.AuctionRepository_FindById_44__Fun)(new global::englishauction.AuctionRepository_FindById_44__Fun())))));
                 #line 47 "/my-component/src/englishauction/AuctionRepository.hx"
     res.onResult(new global::englishauction.AuctionRepository_FindById_47__Fun(res, callback));
 }
 public virtual void GetNumberOfBids(string auctionId, global::haxe.lang.Function callback)
 {
                 #line 44 "/my-component/src/englishauction/BidRepository.hx"
     global::maglev.MagLevArray args = global::maglev.MagLevArray.create();
     args.push(global::maglev.MagLevString.fromString(auctionId));
                 #line 46 "/my-component/src/englishauction/BidRepository.hx"
     global::maglev.MagLevResult ret = this.bus.call("Persistence.EnglishAuction.Bid.CountForAuction", args);
     int count = 0;
                 #line 48 "/my-component/src/englishauction/BidRepository.hx"
     ret.onResult(new global::englishauction.BidRepository_GetNumberOfBids_48__Fun(callback));
                 #line 52 "/my-component/src/englishauction/BidRepository.hx"
     ret.onError((((global::englishauction.BidRepository_GetNumberOfBids_52__Fun.__hx_current != null)) ? (global::englishauction.BidRepository_GetNumberOfBids_52__Fun.__hx_current) : (global::englishauction.BidRepository_GetNumberOfBids_52__Fun.__hx_current = ((global::englishauction.BidRepository_GetNumberOfBids_52__Fun)(new global::englishauction.BidRepository_GetNumberOfBids_52__Fun())))));
 }
 public override object __hx_invoke1_o(double __fn_float1, object __fn_dyn1)
 {
                 #line 93 "/my-component/src/persistence/MagLevConverter.hx"
     global::maglev.MagLevArray args = (((__fn_dyn1 == global::haxe.lang.Runtime.undefined)) ? (((global::maglev.MagLevArray)(((object)(__fn_float1))))) : (((global::maglev.MagLevArray)(__fn_dyn1))));
     global::haxe.lang.Function y    = ((global::haxe.lang.Function)(((object)(this.x))));
                 #line 95 "/my-component/src/persistence/MagLevConverter.hx"
     object haxeArgs = global::persistence.MagLevConverter.convertToHaxe(args);
     global::maglev.MagLevResult r = global::maglev.MagLevResult.createAsync();
                 #line 97 "/my-component/src/persistence/MagLevConverter.hx"
     y.__hx_invoke2_o(default(double), haxeArgs, default(double), new global::persistence.MagLevConverter_convertToMagLev_97__Fun(r));
                 #line 101 "/my-component/src/persistence/MagLevConverter.hx"
     return(r);
 }
 public virtual void GetHighestBids(string auctionId, int numBids, global::haxe.lang.Function callback)
 {
                 #line 58 "/my-component/src/englishauction/BidRepository.hx"
     global::maglev.MagLevArray args = global::maglev.MagLevArray.create();
     args.push(global::maglev.MagLevString.fromString(auctionId));
                 #line 60 "/my-component/src/englishauction/BidRepository.hx"
     args.push(global::maglev.MagLevNumber.fromInt(numBids));
     global::maglev.MagLevResult res = this.bus.call("Persistence.EnglishAuction.Bid.FindByHighestPriceForAuction", args);
                 #line 62 "/my-component/src/englishauction/BidRepository.hx"
     res.onError((((global::englishauction.BidRepository_GetHighestBids_62__Fun.__hx_current != null)) ? (global::englishauction.BidRepository_GetHighestBids_62__Fun.__hx_current) : (global::englishauction.BidRepository_GetHighestBids_62__Fun.__hx_current = ((global::englishauction.BidRepository_GetHighestBids_62__Fun)(new global::englishauction.BidRepository_GetHighestBids_62__Fun())))));
                 #line 65 "/my-component/src/englishauction/BidRepository.hx"
     res.onResult(new global::englishauction.BidRepository_GetHighestBids_65__Fun(callback, auctionId));
 }
Exemple #11
0
 public override object __hx_invoke1_o(double __fn_float1, object __fn_dyn1)
 {
     unchecked {
                         #line 60 "/my-component/src/shoppingcart/ShoppingCart.hx"
         global::maglev.MagLevArray args = (((__fn_dyn1 == global::haxe.lang.Runtime.undefined)) ? (((global::maglev.MagLevArray)(((object)(__fn_float1))))) : (((global::maglev.MagLevArray)(__fn_dyn1))));
         string cartId = (((global::maglev.MagLevString)(args.@get(0)))).getString();
                         #line 62 "/my-component/src/shoppingcart/ShoppingCart.hx"
         int idx = (((global::maglev.MagLevNumber)(args.@get(1)))).getInt();
         global::maglev.MagLevResult result = global::maglev.MagLevResult.createAsync();
                         #line 64 "/my-component/src/shoppingcart/ShoppingCart.hx"
         this._gthis.logic.RemoveItem(cartId, idx, new global::shoppingcart.ShoppingCart_registerMyMethods_64__Fun(result));
                         #line 67 "/my-component/src/shoppingcart/ShoppingCart.hx"
         return(result);
     }
                 #line default
 }
Exemple #12
0
 public virtual void FindOpenAuctions(int page, int perpage, string sort, bool asc, global::haxe.lang.Function callback)
 {
                 #line 132 "/my-component/src/englishauction/AuctionRepository.hx"
     global::Array <object>     auctions = new global::Array <object>();
     global::maglev.MagLevArray args     = global::maglev.MagLevArray.create();
                 #line 134 "/my-component/src/englishauction/AuctionRepository.hx"
     args.push(global::maglev.MagLevNumber.fromInt(page));
     args.push(global::maglev.MagLevNumber.fromInt(perpage));
                 #line 136 "/my-component/src/englishauction/AuctionRepository.hx"
     args.push(global::maglev.MagLevString.fromString(sort));
     args.push(global::maglev.MagLevBoolean.fromBool(asc));
                 #line 138 "/my-component/src/englishauction/AuctionRepository.hx"
     global::maglev.MagLevResult res = this.bus.call("Persistence.EnglishAuction.Auction.FindOpen", args);
     res.onError((((global::englishauction.AuctionRepository_FindOpenAuctions_139__Fun.__hx_current != null)) ? (global::englishauction.AuctionRepository_FindOpenAuctions_139__Fun.__hx_current) : (global::englishauction.AuctionRepository_FindOpenAuctions_139__Fun.__hx_current = ((global::englishauction.AuctionRepository_FindOpenAuctions_139__Fun)(new global::englishauction.AuctionRepository_FindOpenAuctions_139__Fun())))));
                 #line 142 "/my-component/src/englishauction/AuctionRepository.hx"
     res.onResult(new global::englishauction.AuctionRepository_FindOpenAuctions_142__Fun(res, callback, auctions));
 }
 public virtual void Add(global::englishauction.BidModel bid, global::haxe.lang.Function callback)
 {
                 #line 14 "/my-component/src/englishauction/BidRepository.hx"
     global::maglev.MagLevObject data = global::maglev.MagLevObject.create();
     data.@set("auctionId", global::maglev.MagLevString.fromString(bid.auctionId));
                 #line 16 "/my-component/src/englishauction/BidRepository.hx"
     data.@set("userId", global::maglev.MagLevString.fromString(bid.userId));
     data.@set("price", global::maglev.MagLevNumber.fromFloat(bid.price));
                 #line 18 "/my-component/src/englishauction/BidRepository.hx"
     global::maglev.MagLevArray args = global::maglev.MagLevArray.create();
     args.push(data);
                 #line 20 "/my-component/src/englishauction/BidRepository.hx"
     global::maglev.MagLevResult res = this.bus.call("Persistence.EnglishAuction.Bid.New", args);
     res.onResult(new global::englishauction.BidRepository_Add_21__Fun(callback));
                 #line 25 "/my-component/src/englishauction/BidRepository.hx"
     res.onError((((global::englishauction.BidRepository_Add_25__Fun.__hx_current != null)) ? (global::englishauction.BidRepository_Add_25__Fun.__hx_current) : (global::englishauction.BidRepository_Add_25__Fun.__hx_current = ((global::englishauction.BidRepository_Add_25__Fun)(new global::englishauction.BidRepository_Add_25__Fun())))));
 }
Exemple #14
0
 public override object __hx_invoke1_o(double __fn_float1, object __fn_dyn1)
 {
     unchecked {
                         #line 32 "/my-component/src/shoppingcart/ShoppingCart.hx"
         global::maglev.MagLevArray args = (((__fn_dyn1 == global::haxe.lang.Runtime.undefined)) ? (((global::maglev.MagLevArray)(((object)(__fn_float1))))) : (((global::maglev.MagLevArray)(__fn_dyn1))));
         string cartId = (((global::maglev.MagLevString)(args.@get(0)))).getString();
                         #line 34 "/my-component/src/shoppingcart/ShoppingCart.hx"
         string itemId = (((global::maglev.MagLevString)(args.@get(1)))).getString();
         int    qty    = (((global::maglev.MagLevNumber)(args.@get(2)))).getInt();
                         #line 36 "/my-component/src/shoppingcart/ShoppingCart.hx"
         double price = (((global::maglev.MagLevNumber)(args.@get(3)))).getFloat();
         global::maglev.MagLevResult result = global::maglev.MagLevResult.createAsync();
                         #line 38 "/my-component/src/shoppingcart/ShoppingCart.hx"
         this._gthis.logic.AddItem(cartId, itemId, qty, price, new global::shoppingcart.ShoppingCart_registerMyMethods_38__Fun(result));
                         #line 41 "/my-component/src/shoppingcart/ShoppingCart.hx"
         return(result);
     }
                 #line default
 }
 public override object __hx_invoke1_o(double __fn_float1, object __fn_dyn1)
 {
     unchecked {
                         #line 52 "/my-component/src/electricalc/ElectriCalc.hx"
         global::maglev.MagLevArray args = (((__fn_dyn1 == global::haxe.lang.Runtime.undefined)) ? (((global::maglev.MagLevArray)(((object)(__fn_float1))))) : (((global::maglev.MagLevArray)(__fn_dyn1))));
         global::maglev.MagLevArray data = global::maglev.MagLevArray.create();
                         #line 54 "/my-component/src/electricalc/ElectriCalc.hx"
         data.push(global::maglev.MagLevString.fromString("_not_implemented_"));
         data.push(global::maglev.MagLevString.fromString("ElectricalCalculator.CalculateThreePhasePower"));
                         #line 56 "/my-component/src/electricalc/ElectriCalc.hx"
         data.push(global::maglev.MagLevString.fromString("electricalc"));
         this.bus.call("MindPowered.Telemetry.Send", data);
                         #line 58 "/my-component/src/electricalc/ElectriCalc.hx"
         global::maglev.MagLevError  err    = global::maglev.MagLevError.create(-20000, "You are trying to use the \'ElectricalCalculator.CalculateThreePhasePower\' method but it\'s not quite done yet. Please email [email protected] to find out when it will be done.", data);
         global::maglev.MagLevResult result = global::maglev.MagLevResult.fromError(err);
                         #line 60 "/my-component/src/electricalc/ElectriCalc.hx"
         return(result);
     }
                 #line default
 }
Exemple #16
0
 public override object __hx_invoke1_o(double __fn_float1, object __fn_dyn1)
 {
     unchecked {
                         #line 107 "/my-component/src/invoices/Invoices.hx"
         global::maglev.MagLevArray args = (((__fn_dyn1 == global::haxe.lang.Runtime.undefined)) ? (((global::maglev.MagLevArray)(((object)(__fn_float1))))) : (((global::maglev.MagLevArray)(__fn_dyn1))));
         global::maglev.MagLevArray data = global::maglev.MagLevArray.create();
                         #line 109 "/my-component/src/invoices/Invoices.hx"
         data.push(global::maglev.MagLevString.fromString("_not_implemented_"));
         data.push(global::maglev.MagLevString.fromString("Invoices.GetInvoicesByClient"));
                         #line 111 "/my-component/src/invoices/Invoices.hx"
         data.push(global::maglev.MagLevString.fromString("invoices"));
         this.bus.call("MindPowered.Telemetry.Send", data);
                         #line 113 "/my-component/src/invoices/Invoices.hx"
         global::maglev.MagLevError  err    = global::maglev.MagLevError.create(-20000, "You are trying to use the \'Invoices.GetInvoicesByClient\' method but it\'s not quite done yet. Please email [email protected] to find out when it will be done.", data);
         global::maglev.MagLevResult result = global::maglev.MagLevResult.fromError(err);
                         #line 115 "/my-component/src/invoices/Invoices.hx"
         return(result);
     }
                 #line default
 }
Exemple #17
0
 public override object __hx_invoke1_o(double __fn_float1, object __fn_dyn1)
 {
     unchecked {
                         #line 21 "/my-component/src/financecalculator/FinanceCalculator.hx"
         global::maglev.MagLevArray args = (((__fn_dyn1 == global::haxe.lang.Runtime.undefined)) ? (((global::maglev.MagLevArray)(((object)(__fn_float1))))) : (((global::maglev.MagLevArray)(__fn_dyn1))));
         global::maglev.MagLevArray data = global::maglev.MagLevArray.create();
                         #line 23 "/my-component/src/financecalculator/FinanceCalculator.hx"
         data.push(global::maglev.MagLevString.fromString("_not_implemented_"));
         data.push(global::maglev.MagLevString.fromString("FinanceCalculator.PresentValueOfFutureMoney"));
                         #line 25 "/my-component/src/financecalculator/FinanceCalculator.hx"
         data.push(global::maglev.MagLevString.fromString("financecalculator"));
         this.bus.call("MindPowered.Telemetry.Send", data);
                         #line 27 "/my-component/src/financecalculator/FinanceCalculator.hx"
         global::maglev.MagLevError  err    = global::maglev.MagLevError.create(-20000, "You are trying to use the \'FinanceCalculator.PresentValueOfFutureMoney\' method but it\'s not quite done yet. Please email [email protected] to find out when it will be done.", data);
         global::maglev.MagLevResult result = global::maglev.MagLevResult.fromError(err);
                         #line 29 "/my-component/src/financecalculator/FinanceCalculator.hx"
         return(result);
     }
                 #line default
 }
Exemple #18
0
 public virtual void Add(global::englishauction.AuctionModel auction, global::haxe.lang.Function callback)
 {
                 #line 14 "/my-component/src/englishauction/AuctionRepository.hx"
     global::maglev.MagLevObject obj = global::maglev.MagLevObject.create();
     obj.@set("start", global::maglev.MagLevNumber.fromInt(auction.start));
                 #line 16 "/my-component/src/englishauction/AuctionRepository.hx"
     obj.@set("end", global::maglev.MagLevNumber.fromInt(auction.end));
     obj.@set("startingPrice", global::maglev.MagLevNumber.fromFloat(auction.startingPrice));
                 #line 18 "/my-component/src/englishauction/AuctionRepository.hx"
     obj.@set("reservePrice", global::maglev.MagLevNumber.fromFloat(auction.reservePrice));
     obj.@set("priceIncrement", global::maglev.MagLevNumber.fromFloat(auction.priceIncrement));
                 #line 20 "/my-component/src/englishauction/AuctionRepository.hx"
     global::maglev.MagLevArray args = global::maglev.MagLevArray.create();
     args.push(obj);
                 #line 22 "/my-component/src/englishauction/AuctionRepository.hx"
     global::maglev.MagLevResult res = this.bus.call("Persistence.EnglishAuction.Auction.CreateNew", args);
     res.onResult(new global::englishauction.AuctionRepository_Add_23__Fun(callback));
                 #line 27 "/my-component/src/englishauction/AuctionRepository.hx"
     res.onError((((global::englishauction.AuctionRepository_Add_27__Fun.__hx_current != null)) ? (global::englishauction.AuctionRepository_Add_27__Fun.__hx_current) : (global::englishauction.AuctionRepository_Add_27__Fun.__hx_current = ((global::englishauction.AuctionRepository_Add_27__Fun)(new global::englishauction.AuctionRepository_Add_27__Fun())))));
 }
Exemple #19
0
 public virtual void FindAuctionsEnding(int endfrom, int endto, int page, int perpage, string sort, bool asc, global::haxe.lang.Function callback)
 {
                 #line 65 "/my-component/src/englishauction/AuctionRepository.hx"
     global::Array <object>     auctions = new global::Array <object>();
     global::maglev.MagLevArray args     = global::maglev.MagLevArray.create();
                 #line 67 "/my-component/src/englishauction/AuctionRepository.hx"
     args.push(global::maglev.MagLevNumber.fromInt(endfrom));
     args.push(global::maglev.MagLevNumber.fromInt(endto));
                 #line 69 "/my-component/src/englishauction/AuctionRepository.hx"
     args.push(global::maglev.MagLevNumber.fromInt(page));
     args.push(global::maglev.MagLevNumber.fromInt(perpage));
                 #line 71 "/my-component/src/englishauction/AuctionRepository.hx"
     args.push(global::maglev.MagLevString.fromString(sort));
     args.push(global::maglev.MagLevBoolean.fromBool(asc));
                 #line 73 "/my-component/src/englishauction/AuctionRepository.hx"
     global::maglev.MagLevResult res = this.bus.call("Persistence.EnglishAuction.Auction.FindEnding", args);
     res.onError((((global::englishauction.AuctionRepository_FindAuctionsEnding_74__Fun.__hx_current != null)) ? (global::englishauction.AuctionRepository_FindAuctionsEnding_74__Fun.__hx_current) : (global::englishauction.AuctionRepository_FindAuctionsEnding_74__Fun.__hx_current = ((global::englishauction.AuctionRepository_FindAuctionsEnding_74__Fun)(new global::englishauction.AuctionRepository_FindAuctionsEnding_74__Fun())))));
                 #line 77 "/my-component/src/englishauction/AuctionRepository.hx"
     res.onResult(new global::englishauction.AuctionRepository_FindAuctionsEnding_77__Fun(callback, auctions));
 }
Exemple #20
0
 public ShoppingCart_registerMyMethods_101__Fun(global::maglev.MagLevResult result) : base(0, 0)
 {
                 #line 102 "/my-component/src/shoppingcart/ShoppingCart.hx"
     this.result = result;
 }
 public MagLevConverter_convertToMagLev_97__Fun(global::maglev.MagLevResult r) : base(1, 0)
 {
                 #line 97 "/my-component/src/persistence/MagLevConverter.hx"
     this.r = r;
 }
 public MagLevConverter_convertToHaxe_61__Fun(global::maglev.MagLevResult ret) : base(1, 0)
 {
                 #line 62 "/my-component/src/persistence/MagLevConverter.hx"
     this.ret = ret;
 }