FindMyFiles

FindMyFiles.ViewModels Namespace

Classes
FocusedQueryRewriterFocused search: a pure query rewrite in the UI layer — the engine is never touched (ADR-0019). Every top-level OR group of the user's query gets the configured noise-path exclusions (!path:"…") and the extension whitelist (one ext:a;b;… term) appended, except where the user already expressed intent: a group mentioning ext:/regex: keeps its own type filter, a group mentioning path: or containing \ keeps its own location.
MainViewModelProvides a mechanism for releasing unmanaged resources.
NotificationCenterThe InfoBar notification stack: capped at three, Info entries dissolve after five seconds. Every error path in the app funnels through here via Notifier. UI thread only (the Notifier subscription marshals).
PerfPanelViewModelSupports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.
RequeryOriginExtensionsHelpers over RequeryOrigin.
ResultRowSupports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.
ResultsPresenterSupports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.
SearchOrchestratorWhen and what to search: 50ms debounce on typing (clearing is instant), a generation counter that discards superseded responses, requery triggers (index changes, stale results) and exception classification. Results are handed to the ResultsPresenter; failures surface through SearchFailed so the ViewModel owns the user-facing wording. All entry points run on the UI thread.
ServiceManagerViewModelSupports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.
StatusFormatterAll user-facing status wording in one place — keys resolve through Loc (Strings/<lang>/Resources.resw).
Structs
ResultsPublicationDescribes one published result set so the view can place the viewport: reset origins scroll to the top, position-preserving origins scroll to RestoreIndex. The seeded index window is where a previously selected row may be re-found.
SearchRequestSnapshot of what to search — the ViewModel stays the single source of truth for the UI state; the orchestrator only pulls it.
Enums
RequeryOriginWhy a requery ran. Reset origins land the user at the top of the list; position-preserving origins restore the previous viewport (docs/ARCHITECTURE.md "two requery families").