6 packages tagged with “covariant”
Delegate-like classes for covariant and contravariant delegates and events
Provides extension methods that allow to treat collections, enumerables and lists as covariant of a generic type other than their constructed type (i.e. for down-casting collections).
xUnit Tests for netfx-System.Collections.Generic.CovariantExtensions
Sometimes when developing generic methods extensions it needs additional generic parameter types, and when any of types can not be inferred then all generic parameter types must be specified. This library brings IOutParam<out T>, IInParam<in T> and ITypeParam<T> interfaces and corresponding factories to help developers create method parameters that lets the compiler infer the type of the generic parameter.
Covariant Option Monad.
Contravariant and Covariant injection for Microsoft.Extensions.DependencyInjection