Found 11 packages
A thread-safe bool struct implemented on top of Interlocked/Volatile operations.
A lightweight, allocation-free atomic nullable boolean struct implemented on top of an inline ValueAtomicInt
A lock free atomic nullable boolean.
A tiny, allocation-free, publication-only lazy initializer for bools.
A lock free atomic boolean.
Builds on type of the ConstTypeArgs.Core library to provide const type arguments that allow you to use type parameters to pass boolean values to generics at compile-time. This provides an analog to type specialization in C++, and can be used for scenarios such as: * Static configuration, * Eliminating unnecessary instance constructors, * "Passing" values to type initializers, Const type arguments are provided for true, false, & default values of bool, as well as types for defining bool array const type arguments and domain-specific const type arguments. Here's a Hello World example: ``` using ConstTypeArgs.Bools; public class Foo<TToConsole> where TToConsole: K_Bool { static Foo() { if (TToConsole.Value) Console.WriteLine("Hello, world!"); } } // Elsewhere var foo = new Foo<True>(); // Console outputs: Hello, world! foo = new Foo<False>(); // No output. ```
A simple and lightweight INI parser with support for int, string and bools
The reflection-based C++ unit testing framework. SlothUnit aims to be really simple to use, expressive and easy to setup. More than anything, trying to be really familiar to your usual C++ code, so you are not required to study it in-depth to be able to start using it fluently (no learning curve whatsoever!). As of today, SlothUnit is still starting out. Only available in Visual Studio, there are just a few simple assertions for bools, strings, integers and floats. But it may be used for fun on some katas or in small projects where you don't need more than that :)
NXmlMapper is a library that lets you easily parse XML files by mapping them to classes. Mapping can be done automatically or manually. It can parse any numeric type, strings, bools, and DateTimes. Both XML element and attribute values are parse-able.
BoolParameterGenerator is a Roslyn analyzer and source generator that automatically creates replacement types for boolean parameters in C# code. This improves code readability and maintainability by replacing ambiguous bools with descriptive types. See the README for usage and examples.
Ein generisches Dialog Fenster. Verhalten und Erscheinungsbild sind sehr detailiert anpassbar. Argumente können mit oder ohne Typ- Einschränkungen übergeben werden. Im Falle eines boolschen Wertes, werden CheckBox Elemente generiert. Einem boolschen Wert können sub- Argumente übergeben werden, dessen 'IsEnabled' und 'IsRequired' status sich anhand des übergeordneten Elements definieren. Passwörter können ebenfalls als SecureString abgefragt werden und werden entsprechend in einer PasswordBox dargestellt. Allgemein orientieren sich die generierten UI- Controls an dem erwarteten Typ. Changelog: - CheckBox: Bool- ArgType Parameter generieren eine CheckBox - Es können Abhängigkeiten für eine CheckBox definiert werden. Hierfür werden zwei Add Methoden mit den entsprechenden Überladungen angeboten. In jedem Fall wird als zweites Argument ein Objekt vom Typ DialogArgs erwartet, welches die Abhängigkeiten definiert. Die Abhängigkeiten können ohne Einschränkung verschachtelt werden. - PasswordBox: SecureString- ArgType Parameter generieren eine PasswordBox und geben über die Methode GetSecure ein Objekt vom Typ SecureString zurück. - ComboBox: Der ArgType Collection erzeugt eine ComboBox aus dem als default- Parameter übergebenen IEnummerable Objekt. - DatePicker: Der ArgType DateTime erzeugt ein DatePicker Objekt. - Die Show Methode lässt sich nun mit einem Delegaten vom Typ Action überladen. Somit muss das closing Event nicht mehr separat gebunden werden. Für mehr Information: http://www.src-code.de/docs/easydialog