/// <summary> /// Creates a new user manager. /// </summary> /// <param name="settings">Seeker settngs.</param> public UserManager(ISeekerSettings settings) { _settings = settings; _userFileLocation = Path.Combine(_settings.Security, "users.json"); _users = new List <UserInfo>(); ReloadUsers(); }
/// <summary> /// Creates a seeker service. /// </summary> /// <param name="settings">Seeker settings.</param> public SeekerService(ISeekerSettings settings) { _settings = settings; }