Example #1
0
        /// <summary>
        /// Releases unmanaged and - optionally - managed resources.
        /// </summary>
        /// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
        protected virtual void Dispose(bool disposing)
        {
            if (disposing)
            {
                // free managed resources..
                Voikko?.Dispose();
            }

            // free native resources if there are any..
            // NONE (That I know of)..
        }
Example #2
0
 /// <summary>
 /// Initializes the dictionary data of this class.
 /// </summary>
 public void Initialize()
 {
     Voikko = PrepareVoikko.PrepareInstance();
 }