Source

Resharper Spell Checker / ReSpeller / SpellEngine / Constants.cs

Full commit
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;

namespace ReSpeller.SpellEngine
{
  static class Constants
  {
    public const string DictExt = "dic";
    public const string InternalDictSuffix = "_custom";
    public const string MainDictSubDir = "dic";
    public const string UserDictSubDir = "ReSpeller";
    public const string HunspellAffixExt = "aff";
    public const string HunspellDictExt = "dic";
    public static readonly string PluginPath = Path.GetDirectoryName(Assembly.GetAssembly(typeof (ISpellChecker)).Location);
    public static readonly string MainDictDir = Path.Combine(PluginPath, MainDictSubDir);
    public static readonly string UserDictDir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), UserDictSubDir);
  }
}