28 lines
973 B
C#
28 lines
973 B
C#
namespace DigitalData.Core.Application
|
|
{
|
|
/// <summary>
|
|
/// Represents the options for configuring directory search operations.
|
|
/// </summary>
|
|
public class DirectorySearchOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets or initializes the name of the server to be used in the directory search.
|
|
/// </summary>
|
|
public string? ServerName { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets or initializes the root directory path for the search.
|
|
/// </summary>
|
|
public string? Root { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets or initializes the number of days before the user cache expires.
|
|
/// </summary>
|
|
public int UserCacheExpirationDays { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets or initializes the custom search filters to be applied during directory searches.
|
|
/// </summary>
|
|
public Dictionary<string, string> CustomSearchFilters { get; init; } = new();
|
|
}
|
|
} |