Easy.Test/Text/WordCountTest.cs
/// <summary>
/// Executes word count synchronously for a given string
/// </summary>
/// <param name="text">Text string</param>
/// <returns>Word count</returns>
Executes word count synchronously for a given string
Executes word count synchronously for a given string
private int GetWordCount(string text)
        {
            _document.Text = text;
            var wc = _wordCount.Count();
            wc.Wait();
            return wc.Result;
        }
private int GetWordCount ( string text ) { _document . Text = text ; var wc = _wordCount . Count ( ) ; wc . Wait ( ) ; return wc . Result ; }
Executes word count synchronously for a given string
Executes word count synchronously for a given string
None
text
string
None