15 packages tagged with “variant”
C# source generator to generate efficient and type-safe variant types for unmanaged types.
Legacy code from RT.Util. Preserved only to make it possible to compile ancient unmaintained private projects.
CodeJam is a set of handy reusable .NET components that can simplify your daily work and save your time when you copy and paste your favorite helper methods and classes from one project to another.
A type-safe and space-efficient sum type for C# (comparable to unions in C or C++)
NCommons is a set of several .NET libraries which provide common building blocks that can be used by any kind of library or application. This library provides several members which assist in writing type-safe and expressive code. Even though the package is called "Monads", the included members don't necessarily have to be monadic. In general, the goal of the package is to provide utility types, monadic or not, which assist in writing precise code that still looks and behaves like traditional C#. While inspired by functional programming languages, the provided types still look and feel like types that could come straight from the .NET Framework's BCL. Commonly Used Types: Optional<T> Variant<T1>, ..., Variant<T1,...,T8> You can find additional information and documentation on the library's GitHub page: https://github.com/manuelroemer/NCommons
A Variant instance allows to store and manage different types of data, with the help of compile-time type safety and highly optimized operations. System.Text.JSON serialization is supported.
C# implementation of the variant type.
Provides the basis for a first class experience specifying SAT-CP solver parameters.
Generate hybrid (tagged/type) union types.
Provides a set of features making it possible to emulate C++ Variants for dotnet.
A generic arithmetic library. Allows you to perform arithmetic on any numeric type. All .NET numeric value types are supported, as is any custom numeric type--just implement the numeric operator overloads.