feat: DirectorySearchOptions-Klasse hinzugefügt und DirectorySearchService refaktoriert, um IOptions für eine verbesserte Konfigurationsverwaltung zu verwenden.

This commit is contained in:
Developer 02
2024-06-13 15:44:57 +02:00
parent ee045d5bfd
commit 0697f5ff58
4 changed files with 44 additions and 22 deletions

View File

@@ -0,0 +1,13 @@
namespace DigitalData.Core.Application
{
public class DirectorySearchOptions
{
public string? ServerName { get; init; }
public string? Root { get; init; }
public int UserCacheExpirationDays { get; init; }
public Dictionary<string, string> CustomSearchFilters { get; init; } = new();
}
}