Пример #1
0
        public readonly boolDel method; /* method to use if substring matches */

        public Among(string s, int substring_i, int result, boolDel linkMethod)
        {
            this.s_size      = s.Length;
            this.s           = s.ToCharArray();
            this.substring_i = substring_i;
            this.result      = result;
            this.method      = linkMethod;
        }
Пример #2
0
        public readonly boolDel method; /* method to use if substring matches */

        public Among(string s, int substring_i, int result, boolDel linkMethod) {

            this.s_size = s.Length;
            this.s = s.ToCharArray();
            this.substring_i = substring_i;
            this.result = result;
            this.method = linkMethod;
        }
Пример #3
0
        void ExecuteButtonBuffer(boolDel button)
        {
            bool success = button();

            bufferButton = button;
            if (!success)
            {
                bufferRepeatRemaining = bufferRepeatAmount;
            }
        }