refactor(DirectorySearchOptions): Machen Sie ServerName und Root erforderlich und UserCacheExpirationDays nullable double.
This commit is contained in:
@@ -5,21 +5,24 @@
|
||||
/// </summary>
|
||||
public class DirectorySearchOptions
|
||||
{
|
||||
//TODO: Merge with Root and rename as path
|
||||
/// <summary>
|
||||
/// Gets or initializes the name of the server to be used in the directory search.
|
||||
/// </summary>
|
||||
public string? ServerName { get; init; }
|
||||
public required string ServerName { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or initializes the root directory path for the search.
|
||||
/// </summary>
|
||||
public string? Root { get; init; }
|
||||
public required string Root { get; init; }
|
||||
|
||||
//TODO: Convert to timespan
|
||||
/// <summary>
|
||||
/// Gets or initializes the number of days before the user cache expires.
|
||||
/// </summary>
|
||||
public int UserCacheExpirationDays { get; init; }
|
||||
public double? UserCacheExpirationDays { get; init; }
|
||||
|
||||
//TODO: Rename as CustomSearchFilters
|
||||
/// <summary>
|
||||
/// Gets or initializes the custom search filters to be applied during directory searches.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user