public SentenceParserViewModel(ISentenceParserHelper sentenceParserHelper)
        {
            if (sentenceParserHelper == null)
                throw new ArgumentNullException(Constants.HELPER_NULL_EXCEPTION_MESSAGE);

            _sentenceParserHelper = sentenceParserHelper;
            _wordsCountBindedList = new ObservableCollection<IWordCountInfo>();
        }
Exemplo n.º 2
0
        public SentenceParserViewModel(ISentenceParserHelper sentenceParserHelper)
        {
            if (sentenceParserHelper == null)
            {
                throw new ArgumentNullException(Constants.HELPER_NULL_EXCEPTION_MESSAGE);
            }

            _sentenceParserHelper = sentenceParserHelper;
            _wordsCountBindedList = new ObservableCollection <IWordCountInfo>();
        }