Esempio n. 1
0
 /// <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();
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a seeker service.
 /// </summary>
 /// <param name="settings">Seeker settings.</param>
 public SeekerService(ISeekerSettings settings)
 {
     _settings = settings;
 }