コード例 #1
0
        private void BuildConditionModel(ConditionType conditionType)
        {
            var model = new ConditionModel
            {
                Type = conditionType
            };

            while (_stack.Count > 0)
            {
                model.Groups.Add((ComparisonGroup)_stack.Pop());
            }

            model.Groups.Reverse();

            _stack.Push(model);
        }
コード例 #2
0
        private void BuildConditionModel(ConditionType conditionType)
        {
            var model = new ConditionModel
            {
                Type = conditionType
            };

            while (_stack.Count > 0)
            {
                model.Groups.Add((ComparisonGroup)_stack.Pop());
            }

            model.Groups.Reverse();

            _stack.Push(model);
        }