Ejemplo n.º 1
0
        protected RoleDummy()
        {
            SetName(RoleName);
            _instance = this;

            {
                List <VParamType> args = new List <VParamType>()
                {
                    new ParamType(0)
                };
                List <VParamType> retVals = new List <VParamType>()
                {
                    new ParamType(0)
                };
                AddOperation(new Operation(OpEchoName, args, retVals));
            }

            {
                List <VParamType> args    = new List <VParamType>();
                List <VParamType> retVals = new List <VParamType>()
                {
                    new ParamType(0)
                };
                AddOperation(new Operation(OpEchoSubName, args, retVals, true));
            }
        }
Ejemplo n.º 2
0
        protected RoleDummy()
        {
            SetName(RoleName);
             _instance = this;

            {
                List<VParamType> args = new List<VParamType>() {new ParamType(0)};
                List<VParamType> retVals = new List<VParamType>() {new ParamType(0)};
                AddOperation(new Operation(OpEchoName, args, retVals));
            }

            {
                List<VParamType> args = new List<VParamType>();
                List<VParamType> retVals = new List<VParamType>() { new ParamType(0) };
                AddOperation(new Operation(OpEchoSubName, args, retVals, true));
            }

        }