Table of Contents

Namespace VpnHood.AppUi.Common

Classes

AppFonts

Provides the names a UI gives the fonts of the UI's content store: the text face, Poppins, with the Persian and Arabic faces beside it, and the icon font, under one collection scheme.

AssetIndex

Provides the names of the files in a folder of the UI's content store, as the store declares them in an index.

ContentDocuments

Provides the long-form documents of the UI's content store, with the product's names filled in.

CountryNames

Provides the countries' names in the language last asked for, else in English, from the UI's content store; the names fall back apart from the words.

ErrorContext

Represents what the sentence and the buttons for a failure depend on besides the failure: the session's and the profile's standing, and what the app asks for, as the UI holding the app's state reads them.

ErrorMessage

Represents what the UI does about one failure, as one of the three cases provided: ErrorMessage.Ignored, ErrorMessage.Page or ErrorMessage.Dialog.

ErrorMessage.Dialog

Represents a failure told in a dialog: the sentence, and the buttons it earned beside Close.

ErrorMessage.Ignored

Represents a failure that was a cancel, as the person's own, so there is nothing to tell them.

ErrorMessage.Page

Represents a failure that opens a page of its own, as what has to be said does not fit in a dialog.

ErrorMessages

Provides the sentence for a failure, and the buttons that go with it, as the app reports it, in process or over HTTP.

Format

Provides the words a page composes from numbers: dates, ages, latencies and traffic.

Markdown

Provides the rendering of the content documents' markdown, the subset they use, to the markup the UI's rich text draws.

Mdi

Provides the Material Design Icons the UI draws, by their code points in the icon font of the UI's content store.

Strings

Provides the UI's words, from the locale files of the UI's content store, as members named after their keys.

ThemeColors

Represents the colours the native chrome around the UI draws with, the window's and the bars', as the theme names them in the UI's content store.

VhApp

Provides what the UI's pages read off the app, and the one way they reach it: the app's API, in process or over HTTP from a paired browser.

Interfaces

IStringSource

Defines words from outside this assembly, laid over the ones it carries: a language it does not ship, or lines said another way.

Enums

ErrorAction

Specifies a button an error dialog offers beside Close.

ErrorPage

Specifies a page a failure can open in place of the error dialog.