Ejemplo n.º 1
0
        public global::System.Threading.Tasks.Task <global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32    interfaceId = @request.@InterfaceId;
            global::System.Int32    methodId    = @request.@MethodId;
            global::System.Object[] arguments   = @request.@Arguments;
            if (@grain == null)
            {
                throw new global::System.ArgumentNullException("grain");
            }
            switch (interfaceId)
            {
            case 102973649:
                switch (methodId)
                {
                case -1829957677:
                    return(((global::InterfacesLib.IHello)@grain).@UnSubscribe((global::InterfacesLib.IChat)arguments[0]).@Box());

                case -1520572651:
                    return(((global::InterfacesLib.IHello)@grain).@Subscribe((global::InterfacesLib.IChat)arguments[0]).@Box());

                case -1925440376:
                    return(((global::InterfacesLib.IHello)@grain).@SendUpdateMessage((global::System.String)arguments[0]).@Box());

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + 102973649 + ",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
            }
        }
Ejemplo n.º 2
0
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case 1581758602:
                switch (methodId)
                {
                case 1344711961:
                    return(await((global::Actor.Demo.Interfaces.IInventoryService)grain).Deduction((global::System.Int32)arguments[0]));

                case 176161530:
                    return(await((global::Actor.Demo.Interfaces.IInventoryService)grain).GetInventoryQuantity());

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + 1581758602 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case -480880784:
                switch (methodId)
                {
                case -1256896228:
                    return(await((global::TInterface.ITest)grain).GetName());

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + -480880784 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
        public global::System.Threading.Tasks.Task <global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32    interfaceId = @request.@InterfaceId;
            global::System.Int32    methodId    = @request.@MethodId;
            global::System.Object[] arguments   = @request.@Arguments;
            try
            {
                if (@grain == null)
                {
                    throw new global::System.ArgumentNullException("grain");
                }
                switch (interfaceId)
                {
                case -1318300710:
                    switch (methodId)
                    {
                    default:
                        throw new global::System.NotImplementedException("interfaceId=" + -1318300710 + ",methodId=" + methodId);
                    }

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
                }
            }
            catch (global::System.Exception exception)
            {
                return(global::Orleans.Async.TaskUtility.@Faulted(exception));
            }
        }
Ejemplo n.º 5
0
        public global::System.Threading.Tasks.Task <global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32    interfaceId = @request.@InterfaceId;
            global::System.Int32    methodId    = @request.@MethodId;
            global::System.Object[] arguments   = @request.@Arguments;
            try
            {
                if (@grain == null)
                {
                    throw new global::System.ArgumentNullException("grain");
                }
                switch (interfaceId)
                {
                case 1134536864:
                    switch (methodId)
                    {
                    case 1092224019:
                        return(((global::OrleansBuggyExample.IReceiver)@grain).@StartTransaction().@Box());

                    case -716877348:
                        return(((global::OrleansBuggyExample.IReceiver)@grain).@TransmitData((global::System.String)arguments[0]).@Box());

                    case 1381309745:
                        return(((global::OrleansBuggyExample.IReceiver)@grain).@GetCurrentCount().@Box());

                    default:
                        throw new global::System.NotImplementedException("interfaceId=" + 1134536864 + ",methodId=" + methodId);
                    }

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
                }
            }
            catch (global::System.Exception exception)
            {
                return(global::Orleans.Async.TaskUtility.@Faulted(exception));
            }
        }
Ejemplo n.º 6
0
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case -74444026:
                switch (methodId)
                {
                case -865269570:
                    return(await((global::SouthParkInterfaces.ICharacterGrain)grain).AreYouAlive());

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + -74444026 + @",methodId=" + methodId);
                }

            case -1277021679:
                switch (methodId)
                {
                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + -1277021679 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
        public global::System.Threading.Tasks.Task <global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32    interfaceId = @request.@InterfaceId;
            global::System.Int32    methodId    = @request.@MethodId;
            global::System.Object[] arguments   = @request.@Arguments;
            try
            {
                if (@grain == null)
                {
                    throw new global::System.ArgumentNullException("grain");
                }
                switch (interfaceId)
                {
                case 1069266804:
                    switch (methodId)
                    {
                    case 894726647:
                        return(((global::Vylon.Achievement.Interfaces.IUserGrain)@grain).@Did((global::Vylon.Achievement.Interfaces.IActionGrain)arguments[0]).@Box());

                    default:
                        throw new global::System.NotImplementedException("interfaceId=" + 1069266804 + ",methodId=" + methodId);
                    }

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
                }
            }
            catch (global::System.Exception exception)
            {
                return(global::Orleans.Async.TaskUtility.@Faulted(exception));
            }
        }
        public global::System.Threading.Tasks.Task <global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32    interfaceId = @request.@InterfaceId;
            global::System.Int32    methodId    = @request.@MethodId;
            global::System.Object[] arguments   = @request.@Arguments;
            if (@grain == null)
            {
                throw new global::System.ArgumentNullException("grain");
            }
            switch (interfaceId)
            {
            case 108671495:
                switch (methodId)
                {
                case -1319124596:
                    return(((global::OrleanSilo.Interfaces.IEmployee)@grain).@Greeting((global::OrleanSilo.Interfaces.IEmployee)arguments[0], (global::System.String)arguments[1]).@Box());

                case 312402437:
                    return(((global::OrleanSilo.Interfaces.IEmployee)@grain).@GetLevel().@Box());

                case -1461035780:
                    return(((global::OrleanSilo.Interfaces.IEmployee)@grain).@Promote((global::System.Int32)arguments[0]).@Box());

                case 940043127:
                    return(((global::OrleanSilo.Interfaces.IEmployee)@grain).@GetManager().@Box());

                case -159913581:
                    return(((global::OrleanSilo.Interfaces.IEmployee)@grain).@SetManager((global::OrleanSilo.Interfaces.IManager)arguments[0]).@Box());

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + 108671495 + ",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
            }
        }
        public global::System.Threading.Tasks.Task <global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32    interfaceId = @request.@InterfaceId;
            global::System.Int32    methodId    = @request.@MethodId;
            global::System.Object[] arguments   = @request.@Arguments;
            if (@grain == null)
            {
                throw new global::System.ArgumentNullException("grain");
            }
            switch (interfaceId)
            {
            case 1915215068:
                switch (methodId)
                {
                case -1701259070:
                    return(((global::OrleanSilo.Interfaces.IManager)@grain).@AsEmployee().@Box());

                case -675836216:
                    return(((global::OrleanSilo.Interfaces.IManager)@grain).@GetDirectReports().@Box());

                case -1731443267:
                    return(((global::OrleanSilo.Interfaces.IManager)@grain).@AddDirectReport((global::OrleanSilo.Interfaces.IEmployee)arguments[0]).@Box());

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + 1915215068 + ",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
            }
        }
Ejemplo n.º 10
0
        public global::System.Threading.Tasks.Task <global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32    interfaceId = @request.@InterfaceId;
            global::System.Int32    methodId    = @request.@MethodId;
            global::System.Object[] arguments   = @request.@Arguments;
            if (@grain == null)
            {
                throw new global::System.ArgumentNullException("grain");
            }
            switch (interfaceId)
            {
            case 2107013953:
                switch (methodId)
                {
                case -1077269448:
                    return(((global::InventoryService.Grains.IProductGrain)@grain).@GetCurrentStock().@Box());

                case 1827468844:
                    return(((global::InventoryService.Grains.IProductGrain)@grain).@ModifyStock((global::System.Int32)arguments[0]).@Box());

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + 2107013953 + ",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
            }
        }
Ejemplo n.º 11
0
        public global::System.Threading.Tasks.Task <global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32    interfaceId = @request.@InterfaceId;
            global::System.Int32    methodId    = @request.@MethodId;
            global::System.Object[] arguments   = @request.@Arguments;
            if (@grain == null)
            {
                throw new global::System.ArgumentNullException("grain");
            }
            switch (interfaceId)
            {
            case 460239684:
                switch (methodId)
                {
                case 1737518932:
                    return(((global::InventoryService.Grains.IInventoryServiceGrain)@grain).@ShipItems((global::InventoryService.Interface.Product)arguments[0], (global::System.Int32)arguments[1]).@Box());

                case 1126600635:
                    return(((global::InventoryService.Grains.IInventoryServiceGrain)@grain).@RestockItems((global::InventoryService.Interface.Product)arguments[0], (global::System.Int32)arguments[1]).@Box());

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + 460239684 + ",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
            }
        }
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case 531517456:
                switch (methodId)
                {
                case 71016289:
                    return(await((global::MonthlyFollowUp.Interfaces.IUserRegistryGrain)grain).GetNumberOfUser());

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + 531517456 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
Ejemplo n.º 13
0
        public global::System.Threading.Tasks.Task <global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32    interfaceId = @request.@InterfaceId;
            global::System.Int32    methodId    = @request.@MethodId;
            global::System.Object[] arguments   = @request.@Arguments;
            if (@grain == null)
            {
                throw new global::System.ArgumentNullException("grain");
            }
            switch (interfaceId)
            {
            case -846687557:
                switch (methodId)
                {
                case 886256324:
                    ((global::InterfacesLib.IChat)@grain).@ReceiveMessage((global::System.String)arguments[0]);
                    return(global::Orleans.Async.TaskUtility.@Completed());

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + -846687557 + ",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
            }
        }
Ejemplo n.º 14
0
        public global::System.Threading.Tasks.Task <global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32    interfaceId = @request.@InterfaceId;
            global::System.Int32    methodId    = @request.@MethodId;
            global::System.Object[] arguments   = @request.@Arguments;
            if (@grain == null)
            {
                throw new global::System.ArgumentNullException("grain");
            }
            switch (interfaceId)
            {
            case 1609282005:
                switch (methodId)
                {
                case 1924591127:
                    return(((global::InterfacesLib.IUserService)@grain).@Exist((global::System.String)arguments[0]).@Box());

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + 1609282005 + ",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
            }
        }
Ejemplo n.º 15
0
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case 676983854:
                switch (methodId)
                {
                case -1231095315:
                    return(await((global::interfaces.ISimpleText)grain).GetString((global::System.String)arguments[0]));

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + 676983854 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
Ejemplo n.º 16
0
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case -289723594:
                switch (methodId)
                {
                case -1540750752:
                    return(await((global::Interfaces.IRateLimit)grain).IsNeedToLimit((global::Entities.RateLimitParameter)arguments[0]));

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + -289723594 + @",methodId=" + methodId);
                }

            case -1277021679:
                switch (methodId)
                {
                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + -1277021679 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
Ejemplo n.º 17
0
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case 1001429827:
                switch (methodId)
                {
                case 860792017:
                    return(await((global::interfaces.IConversation)grain).Message((global::System.String)arguments[0]));

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + 1001429827 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case 2002060537:
                switch (methodId)
                {
                case -780474008:
                    return(await((global::Orleans2GettingStarted.IController)grain).Init((global::System.Collections.Generic.List <global::Orleans2GettingStarted.ILayer>)arguments[0], (global::Orleans2GettingStarted.IController)arguments[1]));

                case -873254251:
                    return(await((global::Orleans2GettingStarted.IController)grain).PauseAllPrevNodes((global::Orleans2GettingStarted.ILayer)arguments[0]));

                case -244396622:
                    return(await((global::Orleans2GettingStarted.IController)grain).ResumeAllPrevNodes((global::Orleans2GettingStarted.ILayer)arguments[0]));

                case -1657476504:
                    return(await((global::Orleans2GettingStarted.IController)grain).AddNodeNotify((global::Orleans2GettingStarted.ILayer)arguments[0]));

                case -1256896228:
                    return(await((global::Orleans2GettingStarted.IController)grain).GetName());

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + 2002060537 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
        public async global::System.Threading.Tasks.Task <object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            int interfaceId = request.InterfaceId;
            int methodId    = request.MethodId;
            var arguments   = request.Arguments;

            switch (interfaceId)
            {
            case (int)0x2F77C6D3:
            {
                var casted = ((global::EazeCrawler.Application.IManageCrawlRequests)grain);
                switch (methodId)
                {
                case unchecked ((int)0xCD2E0DBA):
                    return(await casted.Enqueue((global::EazeCrawler.Dto.CrawlRequestBase) arguments[0]));

                case unchecked ((int)0xA036B787):
                    return(await casted.GetResults());

                case (int)0x3ECCBBAF:
                    await casted.StopProcessing();

                    return(null);

                default:
                    ThrowMethodNotImplemented(interfaceId, methodId);
                    return(null);
                }
            }

            default:
                ThrowInterfaceNotImplemented(interfaceId);
                return(null);
            }

            void ThrowInterfaceNotImplemented(int i) => throw new global::System.NotImplementedException($"InterfaceId: 0x{i:X}");
            void ThrowMethodNotImplemented(int i, int m) => throw new global::System.NotImplementedException($"InterfaceId: 0x{i:X}, MethodId: 0x{m:X}");
        }
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case 1743182390:
                switch (methodId)
                {
                case -823456715:
                    return(await((global::Orleans2GettingStarted.ILayer)grain).Init((global::Orleans2GettingStarted.ILayer)arguments[0], (global::System.Collections.Generic.List <global::Orleans2GettingStarted.IOperator>)arguments[1], (global::Orleans2GettingStarted.IController)arguments[2]));

                case 285593471:
                    return(await((global::Orleans2GettingStarted.ILayer)grain).AddInNode());

                case -1797983613:
                    return(await((global::Orleans2GettingStarted.ILayer)grain).AddOutNode((global::Orleans2GettingStarted.IOperator)arguments[0]));

                case 998372295:
                    return(await((global::Orleans2GettingStarted.ILayer)grain).Pause());

                case 945887006:
                    return(await((global::Orleans2GettingStarted.ILayer)grain).Resume());

                case 1953164537:
                    return(await((global::Orleans2GettingStarted.ILayer)grain).AllocateNode());

                case -1256896228:
                    return(await((global::Orleans2GettingStarted.ILayer)grain).GetName());

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + 1743182390 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
        public global::System.Threading.Tasks.Task <global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32    interfaceId = @request.@InterfaceId;
            global::System.Int32    methodId    = @request.@MethodId;
            global::System.Object[] arguments   = @request.@Arguments;
            try
            {
                if (@grain == null)
                {
                    throw new global::System.ArgumentNullException("grain");
                }
                switch (interfaceId)
                {
                case 1168191035:
                    switch (methodId)
                    {
                    case 947476443:
                        return(((global::HelloWorld.Interfaces.IOrganizationGrain)@grain).@AddUser((global::Vylon.Achievement.Interfaces.IUserGrain)arguments[0]).@Box());

                    case 1347849310:
                        return(((global::HelloWorld.Interfaces.IOrganizationGrain)@grain).@RemoveUser((global::Vylon.Achievement.Interfaces.IUserGrain)arguments[0]).@Box());

                    case 1055200353:
                        return(((global::HelloWorld.Interfaces.IOrganizationGrain)@grain).@ListUsers().@Box());

                    case 952351335:
                        return(((global::HelloWorld.Interfaces.IOrganizationGrain)@grain).@AddAction((global::Vylon.Achievement.Interfaces.IActionGrain)arguments[0]).@Box());

                    case 1190490817:
                        return(((global::HelloWorld.Interfaces.IOrganizationGrain)@grain).@RemoveAction((global::Vylon.Achievement.Interfaces.IActionGrain)arguments[0]).@Box());

                    case 1676135155:
                        return(((global::HelloWorld.Interfaces.IOrganizationGrain)@grain).@ListActions().@Box());

                    case -1805335989:
                        return(((global::HelloWorld.Interfaces.IOrganizationGrain)@grain).@AddAchievement((global::HelloWorld.Interfaces.IAchievementGrain)arguments[0]).@Box());

                    case 545071652:
                        return(((global::HelloWorld.Interfaces.IOrganizationGrain)@grain).@RemoveAchievement((global::HelloWorld.Interfaces.IAchievementGrain)arguments[0]).@Box());

                    case 1067562934:
                        return(((global::HelloWorld.Interfaces.IOrganizationGrain)@grain).@ListAchievements().@Box());

                    default:
                        throw new global::System.NotImplementedException("interfaceId=" + 1168191035 + ",methodId=" + methodId);
                    }

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
                }
            }
            catch (global::System.Exception exception)
            {
                return(global::Orleans.Async.TaskUtility.@Faulted(exception));
            }
        }
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case -1092391309:
                switch (methodId)
                {
                case -1732790602:
                    return(await((global::Orleans2GettingStarted.IOperator)grain).Init((global::System.Collections.Generic.List <global::Orleans2GettingStarted.IOperator>)arguments[0], (global::System.Boolean)arguments[1]));

                case 426148296:
                    await((global::Orleans2GettingStarted.IOperator)grain).DoWork((global::System.Object)arguments[0]);
                    return(null);

                case -32553730:
                    return(await((global::Orleans2GettingStarted.IOperator)grain).RegisterOutNode((global::Orleans2GettingStarted.IOperator)arguments[0]));

                case 998372295:
                    return(await((global::Orleans2GettingStarted.IOperator)grain).Pause());

                case 945887006:
                    return(await((global::Orleans2GettingStarted.IOperator)grain).Resume());

                case -1256896228:
                    return(await((global::Orleans2GettingStarted.IOperator)grain).GetName());

                case 787982236:
                    return(await((global::Orleans2GettingStarted.IOperator)grain).GetPartialWorkLoad((global::System.Single)arguments[0]));

                case 512959570:
                    return(await((global::Orleans2GettingStarted.IOperator)grain).ReceivePartialWorkLoad((global::System.Collections.Generic.List <global::System.Object>)arguments[0]));

                case -1958231350:
                    return(await((global::Orleans2GettingStarted.IOperator)grain).GetOutNodes());

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + -1092391309 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
Ejemplo n.º 23
0
        public global::System.Threading.Tasks.Task <global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32    interfaceId = @request.@InterfaceId;
            global::System.Int32    methodId    = @request.@MethodId;
            global::System.Object[] arguments   = @request.@Arguments;
            try
            {
                if (@grain == null)
                {
                    throw new global::System.ArgumentNullException("grain");
                }
                switch (interfaceId)
                {
                case -638123477:
                    switch (methodId)
                    {
                    case 1847227850:
                        return(((global::OrleansBuggyExample.ISender)@grain).@DoSomething((global::System.Int32)arguments[0]).@Box());

                    case -1376675763:
                        return(((global::OrleansBuggyExample.ISender)@grain).@Dummy().@Box());

                    default:
                        throw new global::System.NotImplementedException("interfaceId=" + -638123477 + ",methodId=" + methodId);
                    }

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
                }
            }
            catch (global::System.Exception exception)
            {
                return(global::Orleans.Async.TaskUtility.@Faulted(exception));
            }
        }
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case -1726117617:
                switch (methodId)
                {
                case 1452346967:
                    return(await((global::IShoppingRecord.IShoppingRecord)grain).GetShoppingRecordDescribe());

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + -1726117617 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case 1596441936:
                switch (methodId)
                {
                case -1075907516:
                    return(await((global::GrainInterfaces.ICubeGrain)grain).CubeMe((global::System.Decimal)arguments[0]));

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + 1596441936 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
Ejemplo n.º 26
0
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case -1223172432:
                switch (methodId)
                {
                case 2058492049:
                    return(await((global::Grains.IStateHolderGrain <T>)grain).GetItem());

                case -1947073959:
                    return(await((global::Grains.IStateHolderGrain <T>)grain).SetItem((T)arguments[0]));

                case 1745404428:
                    return(await((global::Grains.IStateHolderGrain <T>)grain).GetItems());

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + -1223172432 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
Ejemplo n.º 27
0
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case -572685061:
                switch (methodId)
                {
                case -1925673939:
                    await((global::StreamProcessing.Grain.Implementation.IHelloworld)grain).Init();
                    return(null);

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + -572685061 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
        public global::System.Threading.Tasks.Task<global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32 interfaceId = @request.@InterfaceId;
            global::System.Int32 methodId = @request.@MethodId;
            global::System.Object[] arguments = @request.@Arguments;
            if (@grain == null)
                throw new global::System.ArgumentNullException("grain");
            switch (interfaceId)
            {
                case -1233062554:
                    switch (methodId)
                    {
                        case -1629480600:
                            return ((global::Orleans.StorageProvider.Arango.TestGrains.IGrain1)@grain).@Set((global::System.String)arguments[0], (global::System.Int32)arguments[1], (global::System.DateTime)arguments[2], (global::System.Guid)arguments[3]).@Box();
                        case -940922787:
                            return ((global::Orleans.StorageProvider.Arango.TestGrains.IGrain1)@grain).@Get().@Box();
                        case -1730113398:
                            return ((global::Orleans.StorageProvider.Arango.TestGrains.IGrain1)@grain).@Clear().@Box();
                        default:
                            throw new global::System.NotImplementedException("interfaceId=" + -1233062554 + ",methodId=" + methodId);
                    }

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
            }
        }
Ejemplo n.º 29
0
        public async global::System.Threading.Tasks.Task <global::System.Object> Invoke(global::Orleans.Runtime.IAddressable grain, global::Orleans.CodeGeneration.InvokeMethodRequest request)
        {
            global::System.Int32    interfaceId = request.InterfaceId;
            global::System.Int32    methodId    = request.MethodId;
            global::System.Object[] arguments   = request.Arguments;
            if (grain == null)
            {
                throw new global::System.ArgumentNullException(@"grain");
            }
            switch (interfaceId)
            {
            case 192295384:
                switch (methodId)
                {
                case 1255870734:
                    return(await((global::IGoods.IGoods)grain).GetGoodsDescribe());

                case -2121337655:
                    return(await((global::IGoods.IGoods)grain).GetGoodsDesc());

                default:
                    throw new global::System.NotImplementedException(@"interfaceId=" + 192295384 + @",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException(@"interfaceId=" + interfaceId);
            }
        }
        public global::System.Threading.Tasks.Task <global::System.Object> @Invoke(global::Orleans.Runtime.IAddressable @grain, global::Orleans.CodeGeneration.InvokeMethodRequest @request)
        {
            global::System.Int32    interfaceId = @request.@InterfaceId;
            global::System.Int32    methodId    = @request.@MethodId;
            global::System.Object[] arguments   = @request.@Arguments;
            if (@grain == null)
            {
                throw new global::System.ArgumentNullException("grain");
            }
            switch (interfaceId)
            {
            case 905031748:
                switch (methodId)
                {
                case -510773597:
                    return(((global::Tutorial1.IHello)@grain).@SayHello((global::System.String)arguments[0]).@Box());

                default:
                    throw new global::System.NotImplementedException("interfaceId=" + 905031748 + ",methodId=" + methodId);
                }

            default:
                throw new global::System.NotImplementedException("interfaceId=" + interfaceId);
            }
        }