示例#1
0
        public override void ConvertBeforeArgsProc()
        {
            base.ConvertBeforeArgsProc();
            int num1 = 0;

            string[] args1  = this.args;
            int      index1 = num1;
            int      num2   = index1 + 1;

            this.type = System.Type.GetType(args1[index1]);
            string[] args2  = this.args;
            int      index2 = num2;
            int      num3   = index2 + 1;

            this.name = args2[index2];
            if (!(this.type != typeof(bool)))
            {
                return;
            }
            string[] args3  = this.args;
            int      index3 = num3;
            int      num4   = index3 + 1;

            this.min = args3.SafeGet <string>(index3);
            string[] args4  = this.args;
            int      index4 = num4;
            int      num5   = index4 + 1;

            this.max       = args4.SafeGet <string>(index4);
            this.refMinCnt = VAR.RefCheck(ref this.min);
            this.refMaxCnt = VAR.RefCheck(ref this.max);
        }
示例#2
0
        public override void ConvertBeforeArgsProc()
        {
            base.ConvertBeforeArgsProc();
            int num1 = 0;

            string[] args1  = this.args;
            int      index1 = num1;
            int      num2   = index1 + 1;

            this.answer = args1[index1];
            this.refCnt = VAR.RefCheck(ref this.answer);
            string[] args2  = this.args;
            int      index2 = num2;
            int      num3   = index2 + 1;

            this.arg1 = args2[index2];
            while (num3 < this.args.Length)
            {
                this.argsList.Add(this.args[num3++]);
            }
        }
示例#3
0
        public override void ConvertBeforeArgsProc()
        {
            base.ConvertBeforeArgsProc();
            int num1 = 0;

            string[] args1  = this.args;
            int      index1 = num1;
            int      num2   = index1 + 1;

            this.type = System.Type.GetType(args1[index1]);
            string[] args2  = this.args;
            int      index2 = num2;
            int      num3   = index2 + 1;

            this.name = args2[index2];
            string[] args3 = this.args;
            int      count = num3;
            int      num4  = count + 1;

            this.value  = ((IEnumerable <string>)args3).Skip <string>(count).Shuffle <string>().FirstOrDefault <string>();
            this.refCnt = VAR.RefCheck(ref this.value);
        }