예제 #1
0
        public void RunAction()
        {
            // Create Action
            var action = new AdditionAction();

            action.a = 1;
            action.b = 1;

            // Run action
            runner.Run(action);
        }
예제 #2
0
        static void Main(string[] args)
        {
            // Create the Runner
            using (Runner runner = RunnerFactory.Instance.Create(DevToken))
            {
                // Create the Action
                var action = new AdditionAction();
                action.a = 1;
                action.b = 1;

                // Run action
                runner.Run(action);
            }

            System.Console.ReadKey();
        }