Axiom.Runtime.Instructions.BCallInstruction.Process C# (CSharp) Метод

Process() публичный Метод

public Process ( object arguments ) : void
arguments object
Результат void
        public override void Process(object[] arguments)
        {
            _arguments = arguments;
            _builtinName = (string)arguments[0];
        }

Usage Example

        public void BCall()
        {
            AbstractMachineState state = SetupMachine();

            BCallInstruction i = new BCallInstruction();

            i.Process(new string[] { "write/1" });

            Assert.AreEqual("bcall", i.Name());
            Assert.AreEqual(1, i.NumberOfArguments());
        }