Skip to main content

Arlecchino.Hosting

Classes

TypeSummary
ArlecchinoBuilderConfigures an application while its services are being registered. Every method returns the builder, so a whole application is described in one chain at startup.
ArlecchinoKeymapEvery key the framework itself reacts to, in one place. Replace the whole map through UseKeymap, or one binding at a time with with; each binding also relabels itself in the hints box and the palette.
ArlecchinoOptionsEverything the framework can be told about an application. Configure it in the AddArlecchino callback; most of it also has a builder call.
ArlecchinoServiceCollectionExtensionsRegisters Arlecchino with the host's container.
ArlecchinoStringsEvery piece of text the framework itself draws, as delegates with English defaults. They are called on the frames that need them, so pointing them elsewhere switches language with nothing to rebuild.
FilePickerStringsText of the file picker: labels, column headers, and the three formatters.
HandoverLends the terminal to a full-screen program of its own — an editor, a pager, a shell — and takes it back afterward. It runs on the drawing thread and blocks it, so no frame lands on top of the other program.
TickerWork on a clock, run between frames on the thread that draws, with a repaint asked for afterward. Missed time is not made up for: an action runs at most once per pass.

Interfaces

TypeSummary
IArlecchinoStartupWork to do once before the first frame. Several may be registered; they run in registration order, and the last route that is not ViewRoute.None decides where the application opens.

Enums

TypeSummary
HintsShownWhen the framework draws its own box of keys in the corner.