Runic.Application.Views
AcceptedWorkScopeclassOwns accepted application tasks until their actual completion.
BridgeInteractionRouterclassWindow-owned request/reply broker for typed interaction adapters.
BridgeRequestclassOne Views protocol request and the identities its transport authenticated.
BridgeSnapshotBatchclassDefers notification-driven bridge snapshots for one model until the outermost scope ends.
BridgeSnapshotObservableExtensionsclassApplies observable batches on Runic's bridge publication boundary.
IBridgeConnectionTransportinterfaceA transport that can push to one connection outside a request.
IBridgeRequestHandlerinterfaceHandles the Views protocol requests of a window's connections; the window implements it.
IBridgeTransportinterfaceCarries the Views protocol between one window and the pages connected to it: the requests of each connection with their replies, and pushes to every connection.
IBridgeWindowinterfaceThe lifetime contract shared by every Window host adapter, such as
CsWebUiBridgeWindow<TViewModel>andDesktopBridgeWindow<TViewModel>.IRunicApplicationLocaleinterfaceThe application's locale: the language that every Window shows unless it sets its own with
IRunicWindowLocale, and that menu bars, status icons and notifications are built in.IRunicCodec<T>interfaceImplement this interface with public static methods to define an explicit bridge representation for a type the generated standard codec does not cover.
IRunicConnectionsinterfaceThe page connections of the Window whose DI scope resolved the service, and the connection whose request runs now.
IRunicFileDropTargetinterfaceA Window's root ViewModel that receives the files the user drops onto the Window, with their real paths.
IRunicMenuCheckedSourceinterfaceA Window's root ViewModel that supplies the check marks of the menu bar's check and radio items while its Window is the key window.
IRunicMenuCommandSourceinterfaceA Window's root ViewModel that runs the commands of the application's menu bar while its Window is the key window.
IRunicPendingValidationinterfaceAn object whose validation can be in progress, such as an asynchronous rule that asks a server whether a name is taken.
IRunicRowSource<TRow, TKey>interfaceThe rows of a
RunicQueryCollection: an application's database table, HTTP API or in-memory list, read one range at a time.IRunicSidePanelinterfaceA Window's side panel, which
IRunicWindowPresentation.OpenSidePanelAsyncopened: a page of the Window beside its page, on one edge by which the Window grew.IRunicTextReferenceSourceinterfaceAn entry of validation that carries a text reference for the page to show in the window's language.
IRunicViewinterfaceA .NET presentation object associated with a web component.
IRunicViewLifetimeinterfaceOptional hooks for the period during which a view is presented.
IRunicViewLocatorinterfaceResolves a fresh .NET view for a presented ViewModel.
IRunicWebMountLifetimeinterfaceOptional visual mount acknowledgement from a web component.
IRunicWindowinterfaceAn application Window that any host can open.
IRunicWindowContextinterfaceThe Window whose DI scope resolved the service, for a ViewModel that closes its own Window.
IRunicWindowHostinterfaceA host that opens application Windows: Runic Desktop (
RunicDesktopHost) or CS-WebUI (RunicCsWebUiHost).IRunicWindowLocaleinterfaceThe locale of the Window whose scope resolved this service: the language in which its pages show text references, such as ViewModel status text and validation messages (feature
translation-text/1).IRunicWindowOpeningObserverinterfaceCalled when a Runic Desktop, CS-WebUI or
RunicWindowTestHost.Createwindow opens, before its ViewModel is resolved.IRunicWindowParameter<TParameter>interfaceThe parameter that
RunicWindowHostExtensions.OpenWindowAsyncorIRunicWindowService.OpenWindowAsynchanded to the Window whose scope resolves it.IRunicWindowPresentationinterfaceThe Window whose DI scope resolved the service, as it appears on the desktop: a ViewModel brings it to the front, minimizes, hides or shows it, makes it full-screen, marks its document edited, switches it between light and dark, and reads whether it is active, minimized and visible.
IRunicWindowResult<TResult>interfaceCompletes the Window that the scope belongs to with a result, for a Window opened with
IRunicWindowService.OpenForResultAsync.IRunicWindowServiceinterfaceOpens Windows from ViewModels and application services, on the host that runs the application.
PageReferencerecordA window-local reference to a ViewModel presented as content.
RunicAliasAttributeclassSets a stable JSON field or enum-case name without exposing CLR naming as protocol.
RunicAppendOnlyTextAttributeclassPublishes a read-only
Stringproperty that grows at its end, such as a live log, as the text it appends instead of its whole value.RunicApplicationLocaleChangedEventArgsclassThe change that
IRunicApplicationLocale.LocaleChangedreports.RunicBlobclassBinary content that a ViewModel shows or offers to the page, such as an image, a thumbnail or a download (Views protocol 4, feature
blobs/1).RunicBlobDispositionenumWhat the browser does with a
RunicBlobwhen the page navigates to its URL.RunicBridgeContractExceptionclassReports generated Bridges that were built against another Runic release than the running
Runic.Application.Views(RUNICBRIDGE038).RunicCloseDrainrecordHow long a Window stays visible after its close was decided, while its accepted work drains: its operations and awaited commands, and the
AcceptedWorkScopes it drains (IRunicWindowContext.DrainOnClose).RunicCodecAttributeclassAssociates a contract type or member with an explicit AOT-safe bridge codec.
RunicCodecShapeAttributeclassSupplies the TypeScript representation and decoder expression for an explicit bridge codec.
RunicCollectionAttributeclassPublishes indexed changes for a collection whose items have a stable, unique key.
RunicCommandInputAttributeclassDeclares the browser argument shape for a plain
ICommand.RunicCommandKeyAttributeclassResolves a command's parameter from a wire key: the generated client sends the key, and the Bridge calls the named ViewModel method to get the parameter.
RunicCommandResultAttributeclassOpts a generated command contract into a non-default result cardinality.
RunicCommandResultCardinalityenumControls how an observable ReactiveUI command result is retained.
RunicConnectionrecordOne page connection of a Window: a browser tab, a WebView or a reloaded page, from its
hellountil it closes.RunicConnectionEventArgsclassThe connection that
IRunicConnections.ConnectedorIRunicConnections.Disconnectedreports.RunicConnectionsExtensionsclassObservable forms of
IRunicConnections, for ReactiveUI and otherIObservableconsumers.RunicConnectionState<T>classA value per connection of a Window, such as a selection, a cursor or a draft that each page keeps for itself, removed when its connection disconnects.
RunicDevelopmentOnlyclassWhether development-only views and members (
RunicDevelopmentOnlyAttribute) are in this application.RunicDevelopmentOnlyAttributeclassMarks a ViewModel, or one of its properties or commands, as a development tool, such as a mock-control panel or a diagnostics member: a trimmed or NativeAOT publish leaves it out, together with the generated code only it needs.
RunicDropEffectenumWhat a drop onto a Window performed, for
RunicFileDrop.Effect.RunicDroppedFilerecordA file or directory dropped onto a Window.
RunicFailureAttributeclassDeclares the expected failure type of a bridged command.
RunicFailureExceptionclassSignals a declared failure from a command that has
RunicFailureAttribute.RunicFailureException<TFailure>classSignals a declared failure of type
TFailurefrom a command that hasRunicFailureAttribute.RunicFileDroprecordOne drop of files onto a Window, for
IRunicFileDropTarget.RunicFilterclassOne filter of a
RunicQuery.RunicFilterOperatorenumWhat a
RunicFiltercompares.RunicHostedApplicationExceptionclassA Runic application could not be hosted in another one's windows (the Runic host protocol,
runic-host/1): the guest's hosted start, or a host's start of a guest, failed.RunicHotReloadRestartEventArgsclassThe data of
RunicViewsHotReload.RestartRequired.RunicIgnoreAttributeclassLeaves a public ViewModel member on .NET without exposing it to the web Bridge.
RunicIncludeAttributeclassMarks a public data member as deliberately included in a generated bridge contract.
RunicIncludeJsonIgnoredAttributeclassKeeps DTO properties that System.Text.Json ignores in the Bridge contract of the ViewModels declared in the annotated assembly.
RunicInteractionCancelledExceptionclassRaised when a selected mounted interaction endpoint disappears.
RunicInteractionInvocationclassThe trusted origin of work which may ask a browser to handle an interaction or a view request.
RunicInteractionOutputExceptionclassRaised when a browser answered an interaction with output its contract cannot decode.
RunicInteractionTimeoutAttributeclassSets how long a page may take to answer a ReactiveUI
Interactionthat a Bridge exposes, or that it has no deadline.RunicInteractionTimeoutExceptionclassRaised when a page did not answer a browser interaction within its lifetime.
RunicInteractionUnhandledExceptionclassRaised when no page can answer a
ViewQuestionthat has no fallback.RunicMenuclassAsks the hosts to read the menu bar's state of Windows again.
RunicNoFieldAttributeclassLeaves a member of a row or of an object member without a field of its own (
field-paths/1): the page cannot write it alone, and the generated{View}Fieldshas no descriptor for it or for the members below it.RunicOperationCloseenumWhat a Window's close does to a running operation of the Window.
RunicOperationCloseAttributeclassDeclares the
RunicOperationCloseof operations: on a command property for that command, or on a ViewModel class for each of its operations.RunicOperationProgressclassReports the progress of the operation whose command runs on the current asynchronous flow (Views protocol 4, "Progress").
RunicOperationRetirementenumWhat happens to a running operation when the navigation entry whose content started it retires.
RunicOperationRetirementAttributeclassDeclares the
RunicOperationRetirementof operations: on a command property for that command, or on a ViewModel class for each of its operations.RunicPathChangeclassTargets of a
RunicPathWatcherthat changed together.RunicPathChangeEntryclassA path that changed, one of the
RunicPathChange.Entriesof a change.RunicPathChangeKindenumHow a
RunicPathChangeEntrychanged.RunicPathWatcherclassWatches files, symbolic links, directories and Git checkouts, and reports their changes in a model context.
RunicPathWatcherOptionsclassOptions of a
RunicPathWatcher.RunicPathWatchErrorclassA problem a
RunicPathWatcherworks around.RunicPathWatchErrorKindenumThe kind of a
RunicPathWatchError.RunicPendingValidationclassTracks validation in progress per member path, for ViewModels of any MVVM framework.
RunicPendingValidationExtensionsclassFollows validation streams with a
RunicPendingValidation.RunicPresentationclassRenews and observes the presentations of a ViewModel in the pages of every window that presents it (Views protocol 4, features
presentation-epoch/1andpresented/1).RunicPresentationScopedAttributeclassScopes a command to the presentation it was issued for: the page sends it with the presentation's epoch, and .NET runs it only while that epoch is current.
RunicPromisedFileclassA dropped file that had no local path, such as a mail attachment, for
RunicFileDrop.PromisedFiles.RunicQueryclassThe sort and filter of a
RunicQueryCollection: portable between the page and .NET, and mapped to LINQ byRunicQueryFields.RunicQueryableRowSource<TRow, TKey>classA
IRunicRowSourceover anIQueryable: an in-memory list (rows.AsQueryable()), or a database table through a LINQ provider such as Entity Framework Core.RunicQueryCollection<TRow, TKey>classA large list that the page sorts, filters and scrolls without holding it: rows stay in an
IRunicRowSource, and each presentation loads only the range it shows.RunicQueryCollectionOptionsclassThe cache, concurrency, initial query and model context of a
RunicQueryCollection.RunicQueryCollectionStatisticsrecord structWhat a
RunicQueryCollectionhas loaded and keeps.RunicQueryCollectionView<TRow>classOne View's list of a
RunicQueryCollection, for a WPFItemsControlwith UI virtualization: it hasRunicQueryCollection.Totalitems and loads the pages that its panel reads.RunicQueryFields<TRow>classThe fields a page may sort and filter a
RunicQueryby, and how each maps to a LINQ expression of the row.RunicRegionCollectionAttributeclassPresents a get-only
NavigationSelectionproperty as a region collection (Views protocol 4, featureregion-collections/1): every region of the selection, in order, with a stable key and its current content, and the selected index.RunicRowConflictsenumWhen a cell write of an editable row is a conflict (
RunicRowEditorAttribute.Conflicts).RunicRowEditclassWhat a page changed in a row, for a
RunicRowEditorAttributemethod that takes it as its third parameter:void UpdateLine(int id, InvoiceLine line, RunicRowEdit edit).RunicRowEditorAttributeclassMakes the rows of a
RunicCollectionAttributecollection editable from the page, cell by cell: the page writes one cell, such as a line's quantity, and the Bridge calls this method with the row's key and the row with that cell changed.RunicRowPage<TRow>recordThe rows a
IRunicRowSourceloaded for a range.RunicRowRangerecord structA range of rows:
Countrows from positionStart.Generates one TypeScript client for the ViewModels that implement this interface, so one web component can render all of them:
{Name}Stateand{Name}Clientwith the interface's members, and{Name}PageReference, the page reference of any of their Views, whoseconnect()returns the shared client.RunicSidePanelClosedEventArgsclassProvides the reason for
IRunicSidePanel.Closed.RunicSidePanelCloseReasonenumWhy a side panel closed, for
IRunicSidePanel.Closed.RunicSidePanelEdgeenumAn edge of a Window, for
RunicSidePanelOptions.EdgeandIRunicSidePanel.MoveToEdgeAsync.RunicSidePanelOptionsrecordWhat
IRunicWindowPresentation.OpenSidePanelAsyncopens: a page of the Window shown beside its page, in a strip on one edge by which the Window grows.RunicSidePanelRefusalenumWhy a side panel did not open or change.
RunicSidePanelResultrecordThe outcome of
IRunicWindowPresentation.OpenSidePanelAsync:OpenedorRefused.RunicSidePanelResult.OpenedrecordThe panel opened and the Window grew.
RunicSidePanelResult.RefusedrecordThe panel did not open, and the Window did not change.
RunicSortKeyrecord structOne sort key of a
RunicQuery.RunicTextReferenceclassA text reference of Runic Translations, held as its wire JSON: a catalog, a message key, typed arguments and an optional fallback text.
RunicUnionAttributeclassDeclares the complete derived-type set allowed at a polymorphic bridge boundary.
RunicUnionCaseAttributeclassSets the stable discriminator used for one case of a Runic union.
RunicUploadclassA file the page uploaded to the Window's host, which a command or setter receives as its input (Views protocol 4, feature
blobs/1).RunicValidationMemberrecordThe member whose validation attribute reported an error, for
RunicValidationOptions.TextFor.RunicValidationMessagerecordA structured validation error that a model may return from
INotifyDataErrorInfo.GetErrors.RunicValidationOptionsclassHow the Bridge writes a ViewModel's validation.
RunicValidationResultclassA
ValidationResultwith a text reference, for DataAnnotations and CommunityToolkitObservableValidator: return it from aValidationAttributeor aCustomValidationAttributemethod, and the page showsRunicValidationResult.Textin the window's language, withValidationResult.ErrorMessageas the fallback.RunicView<TViewModel>classA typed logical view.
RunicViewContractAttributeclassSelects a named .NET and web View for a content property.
RunicViewsHotReloadclassRefreshes active browser snapshots after an in-process .NET code update.
RunicViewsTelemetryclassNames of the Views runtime's
ActivitySource,Meterand log category.RunicWatchTargetclassA file, symbolic link, directory or Git checkout that a
RunicPathWatcherobserves.RunicWindow<TViewModel>classThe native window and root typed context for one Bridge session.
RunicWindowActivityrecordWhether a Window is active, minimized and visible, for
IRunicWindowPresentation.Activity.RunicWindowActivityChangedEventArgsclassProvides the previous and new activity for
IRunicWindowPresentation.ActivityChanged.RunicWindowCloseResultrecordThe admission result of a graceful Window or content-session close.
RunicWindowConfigurationExceptionclassReports a Window configuration that failed a check before the window opened, on any host.
RunicWindowDiagnosticrecordOne finding of a Window check, on any host.
RunicWindowDiagnosticSeverityenumWhether a Window diagnostic prevents the window from opening or only reports a limitation.
RunicWindowHostExtensionsclassOpens and validates Windows on any
IRunicWindowHost.RunicWindowModalityenumWhether a Window blocks its owner while it is open (
RunicWindowOptions.Modality).RunicWindowOpening<TViewModel>classA Window being opened, prepared for its host by
RunicWindowHostExtensions.OpenWindowAsync.RunicWindowOptionsrecordHost-neutral options for one Window.
RunicWindowParameter<TParameter>classA fixed
IRunicWindowParameter, for a ViewModel that a test builds by hand.RunicWindowPlacementrecordA Window's placement: the bounds it restores to (when it is neither maximized nor full-screen) and whether it is maximized or full-screen, for
IRunicWindowPresentation.PlacementandIRunicWindowPresentation.SetPlacementAsync.RunicWindowPresentationExtensionsclassObserves a Window's activity without an MVVM library.
RunicWindowPresentationFeaturesenumWhat a Window's host can do through
IRunicWindowPresentation.RunicWindowResult<TResult>structThe result of a Window opened with
IRunicWindowService.OpenForResultAsync: the value its ViewModel completed it with (IRunicWindowResult.CompleteAsync), or none when the Window closed without one.RunicWindowsChangeenumWhat happened to a Window in
IRunicWindowService.WindowsChanged.RunicWindowsChangedEventArgsclassA Window that opened or closed, for
IRunicWindowService.WindowsChanged.RunicWindowServiceCollectionExtensionsclassRegisters
IRunicWindowServicefor dependency injection.RunicWindowServiceExtensionsclassObserves
IRunicWindowService.Windowswithout System.Reactive.RunicWindowValidationResultrecordEvery check
RunicWindowHostExtensions.ValidateWindowran, on any host.ServiceProviderViewLocatorclassResolves each presented View from the window's service provider.
ViewQuestion<TInput, TOutput>classA question a ViewModel asks its web View and waits for, such as a confirmation, in either MVVM flavor.
ViewRequest<T>classA one-way request of a ViewModel to its web View, such as to focus a field, scroll a row into view, scroll to the top or show a toast.
ViewRequestDeliveryenumWhere a
ViewRequestgoes (Views protocol 4, featureview-requests/1, "View requests").WindowContentSessionclassRoutes the content ViewModels of one window to their browser presentations.
WindowContentSessionOptionsclassConfigures a
WindowContentSession.
Runic.Application.Views.Generated
BridgeCollectionDescriptorclassGenerated, reflection-free metadata for a keyed collection.
BridgeContractShapeclassBuild-time/Debug reconstruction of the generated Bridge wire shape.
BridgeDataSubscriptionMemberclassDescribes one observable member of a bridged data graph.
BridgeFieldPathclassOne field path below a member or a row (
field-paths/1).BridgeGeneratedCodeclassChecks that generated Bridge code matches the generated-code support API of this runtime (RUNICBRIDGE038).
BridgeInteractionDescriptorclassNeutral generated interaction descriptor.
BridgeJsonclassJSON helpers called by generated bridges.
BridgeOperationDeliveryFailurerecordDescribes a result delivery failure.
BridgeOperationDeliveryFailureKindenumWhy a completed operation's result could not be retained or delivered.
BridgeOperationExecutionclassThe execution context of a streaming operation.
BridgeOperationResultrecordThe retained outcome of a bridge operation.
BridgeOperationResultKindenumThe shape of a
BridgeOperationResult.BridgeOperationStreamclassA bounded, cursor-addressed sequence of encoded operation results.
BridgeOperationStreamItemrecordOne encoded stream value.
BridgeOperationStreamReadrecordThe result of
BridgeOperationStream.ReadAfter.BridgeProtocolclassThe Views wire protocol described in specs/application/README.md.
BridgeQueryWireclassThe wire form of query collections (
query-collections/1, specs/application/README.md, "Query collections").BridgeRegionCollectionsclassHelpers that generated bridges use to write region collections (
RunicRegionCollectionAttribute).BridgeStateMemberclassOne member of a View's state: its wire name and a writer of its value.
BridgeValidationclassWrites the validation projection for generated bridge snapshots.
BridgeValidationChildrecord structOne generated collection traversal entry.
BridgeValidationReaderclassReads and observes the validation an object keeps outside
INotifyDataErrorInfo, such as a ReactiveUI.ValidationValidationContext.BridgeValueCodec<T>classA generated, typed JSON value codec for a Runic bridge contract.
BridgeWireclassStatic, allocation-conscious JSON primitives used by generated bridge codecs.
CheckedFieldValueKindenumThe wire value type of an acknowledged field write.
CheckedPropertyDescriptorclassDescribes one property that accepts acknowledged field writes.
CommandDescriptorclassDescribes one bridged command.
PropertyDescriptorclassDescribes one bridged ViewModel property.
ViewModelBridgeclassBase class of generated bridges that expose one ViewModel over an
IBridgeTransport.ViewQuestionDescriptorclassFactory used by generated Bridges to attach a
ViewQuestionmember to its route.ViewRequestDescriptorclassFactory used by generated Bridges to attach a
ViewRequestmember to its route.