FindMyFiles

FindMyFiles.ViewModels

SearchRequest Struct

Snapshot of what to search — the ViewModel stays the single source of truth for the UI state; the orchestrator only pulls it.

public readonly record struct SearchRequest : System.IEquatable<FindMyFiles.ViewModels.SearchRequest>

Implements System.IEquatable<SearchRequest>

Constructors

SearchRequest(string, SearchOptions) Constructor

Snapshot of what to search — the ViewModel stays the single source of truth for the UI state; the orchestrator only pulls it.

public SearchRequest(string Query, FindMyFiles.Engine.SearchOptions Options);

Parameters

Query System.String

Raw user query text (before any focused-mode rewrite).

Options SearchOptions

Sort, case and hidden/system flags for this search.

Properties

SearchRequest.Options Property

Sort, case and hidden/system flags for this search.

public FindMyFiles.Engine.SearchOptions Options { get; init; }

Property Value

SearchOptions

SearchRequest.Query Property

Raw user query text (before any focused-mode rewrite).

public string Query { get; init; }

Property Value

System.String