public PersonalParser(IResourceLoader resourceLoader)
        {
            var assembly = Assembly.GetExecutingAssembly();

            _firstNameLookUp = resourceLoader.LoadIntoHashSet(assembly, "FirstName.txt", ',');
            _lastNameLookUp  = resourceLoader.LoadIntoHashSet(assembly, "LastName.txt", ',');
            _countryLookUp   = new List <string>(resourceLoader.Load(assembly, "Countries.txt", '|'));
        }
        public HashSet <string> LoadIntoHashSet(Assembly assembly, string resourceName, char delimiter)
        {
            var key = "LoadIntoHashSet:" + resourceName;

            if (!_cacheResources.ContainsKey(key))
            {
                _cacheResources[key] = _decorated.LoadIntoHashSet(assembly, resourceName, delimiter);
            }

            return(_cacheResources[key] as HashSet <string>);
        }