示例#1
0
        static DocX FillStatementResults(this DocX document, Statement statement, List <StatementResult> results)
        {
            switch (statement.StatementType)
            {
            case StatementType.Middle:
            case StatementType.Exam:
                return(document.FillSimpleStatementResults(statement, results));

            case StatementType.Total:
                return(document.FillTotalStatementResults(statement, results));

            default: return(document.FillComplexStatementResults(statement, results));
            }
        }