FindMyFiles

FindMyFiles.Engine

SearchOutcome Class

What SearchAsync(string, SearchOptions, CancellationToken) returns: the materialized ISearchResult the UI pages through, paired with the per-query QueryTraceData the engine attached (null when tracing was unavailable, e.g. a serialization failure — the result is still valid).

public sealed record SearchOutcome : System.IEquatable<FindMyFiles.Engine.SearchOutcome>

Inheritance System.Object → SearchOutcome

Implements System.IEquatable<SearchOutcome>

Constructors

SearchOutcome(ISearchResult, QueryTraceData) Constructor

What SearchAsync(string, SearchOptions, CancellationToken) returns: the materialized ISearchResult the UI pages through, paired with the per-query QueryTraceData the engine attached (null when tracing was unavailable, e.g. a serialization failure — the result is still valid).

public SearchOutcome(FindMyFiles.Engine.ISearchResult Result, FindMyFiles.Engine.QueryTraceData? Trace);

Parameters

Result ISearchResult

The sort-ordered, O(1)-paged result set.

Trace QueryTraceData

Stage timings for the F12 perf panel, or null.

Properties

SearchOutcome.Result Property

The sort-ordered, O(1)-paged result set.

public FindMyFiles.Engine.ISearchResult Result { get; init; }

Property Value

ISearchResult

SearchOutcome.Trace Property

Stage timings for the F12 perf panel, or null.

public FindMyFiles.Engine.QueryTraceData? Trace { get; init; }

Property Value

QueryTraceData