Пример #1
0
        public DefaultTestEvaluator(ISubjectQuery subjects, TextLoader textLoader,  ILogger logger)
        {
            _subjects = subjects;
            _logger = logger;
            _textLoader = textLoader;

            InitializeSubjects();
        }
Пример #2
0
        public OutcomeModel(TextLoader loader, string category, IDictionary<string, double> results)
        {
            if (results == null)
                throw new ArgumentNullException("results");

            if (category == null)
                throw new ArgumentNullException("category");

            if (loader == null)
                throw new ArgumentNullException("loader");

            this._results = results;
            this._category = category;
            this._loader = loader;
        }