Source

Resharper Spell Checker / ReSpeller / SpellEngine / Dictionaries / DictionaryFactory.cs

using System;

namespace ReSpeller.SpellEngine.Dictionaries
{
  public interface IDictionaryFactory
  {
    ILanguageDictionary CreateDictionary(string language);
  }

  public class HunspellDictionaryFactory : IDictionaryFactory
  {
    private readonly string myMainDictionariesDir;
    private readonly string myUserDictionariesDir;


    public HunspellDictionaryFactory(string mainDictionariesDir, string userDictionariesDir)
    {
      myMainDictionariesDir = mainDictionariesDir;
      myUserDictionariesDir = userDictionariesDir;
    }

    public ILanguageDictionary CreateDictionary(string language)
    {
      throw new NotImplementedException();
    }
  }
}