LogicControl.LogicFunction.Result C# (CSharp) Method

Result() public method

public Result ( LogicControl.LogicExecutionState state ) : object
state LogicControl.LogicExecutionState
return object
        public override object Result(LogicExecutionState state)
        {
            foreach (var statement in this.Statements)
            {
                statement.Execute(state);

                if (state.Finished)
                {
                    return state.Result;
                }
            }

            return state.Result;
        }
LogicFunction