Header menu logo Fittings

Fittings Namespace

Type/Module Description

Command

A module to Create System.Windows.Input.ICommand instances

CreateFileResult

A Discriminated Union for the result of CreateFileIfMissing

DependencyProps

A module to provide DependencyProperties and their bindings Includes extension methods for Button, Grid, TextBox

ErrorHandling

To set up global AppDomain.CurrentDomain.UnhandledException.Handler. A class to provide an Error Handler that can catch corrupted state or access violation errors from FSI threads too.

PersistentSettings

A class to save window size, layout and position, or any arbitrary string-string key-value pairs. This class is useful when app.config does not work in a hosted context. Keys may not contain the separator character, Values and keys may not contain a new line character. Comments are not allowed. Whitespace around keys and values will be trimmed off. Any errors are reported to the provided logging functions.

ProcessCorruptedState

A class to provide an Error Handler that can catch corrupted state or access violation errors from FSI threads too.

SaveReadWriter

Reads and Writes with Lock, Optionally only once after a delay in which it might be called several times using Text.Encoding.UTF8 Writes Exceptions to errorLogger because it is tricky to catch exceptions form an async thread

SyncWpf

Threading Utils to setup and access the SynchronizationContext and evaluate any function on UI thread (Sync.doSync(f))

TextBlockAutoOpen

Provides a type called TextBlockSelectable. A Textblock with selectable text.

ViewModel

A module to provide a ViewModelBase class

WindowOnNewThread

A module to creates a WPF window on a new STA thread. Returns the window and the associated SynchronizationContext call BeginInvokeShutdown on thread when window is closed

Type something to start searching.