BooleanConst
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)
{
}
}
}