public FileLoggedInCharacterRepository(IAuthenticationNotificationService authenticationNotificationService)
        {
            _authenticationNotificationService = authenticationNotificationService;

            RepositoryConfiguration
            .Persist <List <Character> >()
            .WithTypeAlias("LoggedInCharactersWithTokens")
            .FileSystemRepository(new JsonSerializer())
            .UsePlainFileNames("xml")
            .WithStoragePath($"{Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)}/EveHQ NG/Settings");

            _repository = new Repository();

            lock (_loggedInCharactersSyncRoot)
            {
                _characters = _repository.Read <List <Character> >(LoggedInCharacterListEntityId) ?? new List <Character>();
            }
        }