DotNext by .NET Foundation and Contributors

<PackageReference Include="DotNext" Version="4.0.0" />

 BooleanConst

public abstract class BooleanConst : Constant<bool>
Represents boolean constant as generic parameter.
namespace DotNext.Generic { public abstract class BooleanConst : Constant<bool> { public sealed class True : BooleanConst { public True() : base(true) { } } public sealed class False : BooleanConst { public False() : base(false) { } } private BooleanConst(bool value) : base(value) { } } }